Data processing method and device, electronic equipment, computer readable storage medium and computer program product
Patent Information
- Application Number
- CN202510173785.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-17
- Publication Date
- 2026-08-18
AI Technical Summary
[0002]相关技术中,在通过数据统计得到问题对应的答案之后,用户可以根据实际使用需求手动将答案输入至文档中,从而得到包括答案的文档,但是,用户手动输入答案的方式所耗费的时间较长,导致得到包括答案的文档的时长较长,并且,手动输入的答案出现错误的概率较大,导致得到的包括答案的文档的准确度较低
[0049]本申请实施例提供的数据处理方法中,可以在文档关联界面中,显示第一选择控件,第一选择控件用于,选择与目标数据进行关联的文档,其中,目标数据包括:针对问题进行数据统计所得到的答案;文档中包括至少一个用于展示答案的图形元素,响应于基于第一选择控件触发的文档选择操作,显示选择得到的文档,响应于针对选择的文档中目标图形元素的关联操作,建立目标图形元素与答案的关联关系,响应于针对关联关系的确定指令,生成选择的文档对应的文件,文件中的目标图形元素承载有答案。
Smart Images

Figure CN122593666A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a data processing method, apparatus, electronic device, computer-readable storage medium, and computer program product. Background Technology
[0002] In related technologies, after obtaining the answers to questions through data statistics, users can manually input the answers into a document according to their actual needs, thereby obtaining a document containing the answers. However, the manual input method takes a long time, resulting in a long time to obtain the document containing the answers. Furthermore, the probability of errors in manually input answers is relatively high, leading to low accuracy of the document containing the answers. Summary of the Invention
[0003] This application provides a data processing method, apparatus, electronic device, computer-readable storage medium, and computer program product that can improve the efficiency of generating files including answers and improve the accuracy of the generated files including answers.
[0004] The technical solution of this application embodiment is implemented as follows:
[0005] This application provides a data processing method, the method comprising:
[0006] In the document association interface, a first selection control is displayed. The first selection control is used to select the document associated with the target data.
[0007] The target data includes: the answer obtained by statistical analysis of the question; the document includes at least one graphic element for displaying the answer;
[0008] In response to a document selection operation triggered by the first selection control, the selected document is displayed;
[0009] In response to an association operation on a target graphic element in a selected document, an association relationship is established between the target graphic element and the answer;
[0010] In response to the instruction to determine the association, a file corresponding to the selected document is generated, wherein the target graphic element in the file carries the answer.
[0011] This application provides a data processing apparatus, the apparatus comprising:
[0012] The display module is used to display a first selection control in the document association interface, wherein the first selection control is used to select the document associated with the target data;
[0013] The target data includes: the answer obtained by statistical analysis of the question; the document includes at least one graphic element for displaying the answer;
[0014] The response module is used to respond to a document selection operation triggered by the first selection control and display the selected document;
[0015] The response module is also configured to respond to an association operation on a target graphic element in a selected document and establish an association between the target graphic element and the answer.
[0016] The response module is further configured to generate a file corresponding to the selected document in response to a determination instruction for the association relationship, wherein the target graphic element in the file carries the answer.
[0017] In the above method, the selected document includes at least one first document page, the question includes a first question, and the first question corresponds to a first answer; the display module is also used to display the first question in the document association interface;
[0018] The response module is further configured to, based on the first question and in response to a selection operation on a first document page in a selected document, automatically establish an association between a target graphic element in the selected first document page and the first answer, display the first answer, and display the target graphic element in association with the first answer.
[0019] In the above method, the number of the first answers is a first quantity; the response module is further configured to, in response to a selection operation on a first document page in a selected document, display a first answer group obtained by grouping multiple first answers, wherein the number of the first answer group is the second quantity, when the number of the target graphic elements is a second quantity and the second quantity is less than the first quantity; and in response to a confirmation instruction triggered by the displayed first answer group, automatically establish an association between the target graphic elements in the selected first document page and the first answer group, display the first answer in the first answer group, and display the target graphic elements in association with the first answer group.
[0020] In the above method, the number of the first answer is the third number; the response module is further configured to, in response to the selection operation of the first document page in the selected document, display the target graphic element in the selected first document page when the number of the target graphic element is the fourth number and the fourth number is greater than the third number, the target graphic element is in a candidate state.
[0021] In response to a selection instruction for a target graphic element in a candidate state, the association between the selected target graphic element and the first answer is automatically established, the first answer is displayed, and the selected target graphic element is displayed in association with the first answer.
[0022] In the above method, the display module is further configured to display the first answer, and after displaying the target graphic element associated with the first answer, display an association relationship adjustment control, which is used to adjust the association relationship between the automatically created target graphic element and the first answer;
[0023] The response module is further configured to respond to an adjustment instruction triggered by the relationship adjustment control, update the relationship to the relationship between the first answer and the target graphic element indicated by the adjustment instruction, display the first answer, and display the target graphic element indicated by the adjustment instruction in association with the first answer.
[0024] In the above method, the question includes a second question, the second question corresponds to a second answer, and the number of second answers includes at least one; the display module is further configured to display the second answer in the associated area of the second question, and a second selection control corresponding to each second answer, the second selection control being configured to select the target graphic element associated with the corresponding second answer;
[0025] The response module is also configured to, for each of the second answers, in response to an element selection operation triggered by the second selection control, display the selected target graphic element and establish an association between the selected target graphic element and the second answer.
[0026] In the above method, the display module is further configured to display the second answer in the associated area of the second question when the number of the second answer is less than the target number; and to display the target number of second answers in the associated area of the second question in descending order of the statistical number of the second answers when the number of the second answer is greater than or equal to the target number.
[0027] In the above method, the display module is further configured to display an update control in the document association interface using a first style, wherein the update control is configured to update the displayed second answer when the target data is updated;
[0028] The response module is also configured to switch the display style of the update control from the first style to the second style in response to the existence of an update in the target data. The second style is used to indicate that the target data has been updated.
[0029] In the above method, the response module is further configured to display the selected target graphic element, and after establishing the association between the selected target graphic element and the second answer, in response to the update of the target data, automatically update the association between the target graphic element and the second answer, and display the association update information; wherein, the association update information includes the second answer before the update associated with the target graphic element, and the second answer after the update associated with the target graphic element.
[0030] In the above method, the display module is further configured to display the target graphic element in the selected document in the document association interface; and display a third selection control corresponding to each target graphic element, wherein the third selection control is configured to select the answer associated with the corresponding target graphic element;
[0031] The response module is also configured to, in response to a trigger operation on the third selection control, display at least one selectable answer; and, in response to a selection operation on the displayed answer, establish an association between the corresponding target graphic element and the selected answer.
[0032] In the above method, there are multiple selectable answers; the response module is further configured to display multiple selectable answers in response to a trigger operation on the third selection control, and display the statistical count of each answer; based on the statistical count, in response to a selection operation on the displayed answer, establish an association between the corresponding target graphic element and the selected answer.
[0033] In the above method, the display module is further configured to display a first settings page of the selected document before displaying the first selection control in the document association interface, wherein the first settings page is configured to set the graphic element in the selected document;
[0034] The response module is also configured to, based on the first settings page and in response to the graphics drawing operation, determine the drawn graphics as a graphic element for displaying the answer.
[0035] In the above method, the display module is further configured to display a second settings page of the selected document before displaying the first selection control in the document association interface, wherein the second settings page displays at least one candidate graphic element;
[0036] The response module is also configured to, in response to a selection operation performed on the candidate graphic element, set the selected candidate graphic element as a graphic element for displaying the answer.
[0037] In the above method, the response module is further configured to, in response to the selection operation performed on the candidate graphic element, display a setting control corresponding to the selected candidate graphic element, the setting control being configured to set the selected candidate graphic element as the graphic element; based on the setting control, in response to the identifier setting operation on the selected candidate graphic element, create an element identifier for the selected candidate graphic element, the element identifier being configured to identify the selected candidate graphic element as a graphic element used to display the answer.
[0038] In the above method, the response module is further configured to respond to the selection operation performed on the candidate graphic element, and if the candidate graphic element has the set element identifier, display a first prompt message; wherein the first prompt message is used to prompt whether to cancel setting the candidate graphic element as the graphic element.
[0039] In the above method, the response module is further configured to, in response to an open operation on the file, display the content page of the file; display a title on the content page that is consistent with the meaning of the question, and display the answer to the question in the target graphic element of the file.
[0040] In the above method, the response module is further configured to display the answer to the question in the target graphic element of the file, and display detailed information of the answer; the detailed information includes one or more of the following: the statistical number of answers, the number of objects that answered the question, and the historical answers to the question.
[0041] In the above method, the response module is further configured to: display multiple documents to be selected in response to a triggering operation by the first object based on the first selection control; in response to a document selection operation triggered by the first object for the multiple documents to be selected, if the document corresponding to the document selection operation was created by the second object and the first object does not have usage permission for the document, then display a permission request prompt message, the permission request prompt message being used to prompt the second object to send a usage permission request message; send the request message in response to a confirmation instruction for the permission request prompt message; and display the document corresponding to the document selection operation in response to the second object authorizing the first object based on the request message.
[0042] In the above method, the response module is further configured to, after displaying the selected document, highlight the second document page that the current object has editing permissions on in the document association interface; and, in response to the current object's association operation on the target graphic element in the second document page, establish an association relationship between the target graphic element and the answer.
[0043] This application provides an electronic device, the electronic device comprising:
[0044] Memory is used to store executable instructions or computer programs.
[0045] The processor, when executing computer-executable instructions or computer programs stored in the memory, implements the data processing method provided in the embodiments of this application.
[0046] This application provides a computer-readable storage medium storing a computer program or computer-executable instructions for implementing the data processing method provided in this application when executed by a processor.
[0047] This application provides a computer program product, including a computer program or computer executable instructions. When the computer program or computer executable instructions are executed by a processor, they implement the data processing method provided in this application.
[0048] The embodiments of this application have the following beneficial effects:
[0049] In the data processing method provided in this application embodiment, a first selection control can be displayed in the document association interface. The first selection control is used to select a document associated with target data. The target data includes: the answer obtained by data statistics on the question; the document includes at least one graphic element for displaying the answer. In response to the document selection operation triggered by the first selection control, the selected document is displayed. In response to the association operation of the target graphic element in the selected document, the association relationship between the target graphic element and the answer is established. In response to the instruction to determine the association relationship, the file corresponding to the selected document is generated. The target graphic element in the file carries the answer.
[0050] The data processing method provided in this application can first associate a document with target data, and then associate the graphic elements in the document with the answers, thereby generating a file that uses the target graphic elements to carry the answers. This application provides a method that allows answers to be added to the corresponding positions of graphic elements in a file without the user having to manually input the answers into the document. It can quickly fill the file with answers obtained from data statistics on the questions. Compared with related technologies, this application can shorten the time to generate a file containing answers, improve the efficiency of generating a file containing answers, and improve the accuracy of the generated file containing answers. Attached Figure Description
[0051] Figure 1 This is a schematic diagram of the structure of the data processing system provided in the embodiments of this application;
[0052] Figure 2 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application;
[0053] Figure 3 This is a flowchart illustrating the data processing method provided in the embodiments of this application. Figure 1 ;
[0054] Figure 4 This is a schematic diagram of the display interface provided in an embodiment of this application;
[0055] Figure 5 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 1 ;
[0056] Figure 6 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 2 ;
[0057] Figure 7 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 3 ;
[0058] Figure 8 This is a flowchart illustrating the data processing method provided in the embodiments of this application. Figure 2 ;
[0059] Figure 9 This is a flowchart illustrating the data processing method provided in the embodiments of this application. Figure 3 ;
[0060] Figure 10 This is a schematic diagram of the first settings page provided in an embodiment of this application;
[0061] Figure 11 This is a schematic diagram of the second settings page provided in the embodiments of this application. Figure 1 ;
[0062] Figure 12 This is a schematic diagram of the second settings page provided in the embodiments of this application. Figure 2 ;
[0063] Figure 13 This is a schematic diagram of the second settings page provided in the embodiments of this application. Figure 3 ;
[0064] Figure 14 This is a schematic diagram of the second settings page provided in the embodiments of this application. Figure 4 ;
[0065] Figure 15 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 4 ;
[0066] Figure 16 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 5 ;
[0067] Figure 17 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 6 ;
[0068] Figure 18 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 7 ;
[0069] Figure 19 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 8 ;
[0070] Figure 20 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 9 ;
[0071] Figure 21 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 10 ;
[0072] Figure 22 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 10 one;
[0073] Figure 23 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 10 two;
[0074] Figure 24 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 10 three;
[0075] Figure 25 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 10 Four;
[0076] Figure 26 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 10 five;
[0077] Figure 27 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 10 six;
[0078] Figure 28 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 10 seven;
[0079] Figure 29 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 10 eight;
[0080] Figure 30 This is a schematic diagram of the content page provided in the embodiments of this application. Figure 1 ;
[0081] Figure 31 This is a flowchart illustrating the data processing method provided in the embodiments of this application. Figure 4 ;
[0082] Figure 32 This is a schematic diagram of the settings page provided in the embodiments of this application. Figure 1 ;
[0083] Figure 33 This is a schematic diagram of the settings page provided in the embodiments of this application. Figure 2 ;
[0084] Figure 34 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 10 Nine;
[0085] Figure 35 This is a schematic diagram of the content page provided in the embodiments of this application. Figure 2 ;
[0086] Figure 36 This is a schematic diagram of the content interface provided in the embodiments of this application. Figure 3 ;
[0087] Figure 37 This is a flowchart illustrating the data processing method provided in the embodiments of this application. Figure 5 ;
[0088] Figure 38 This is a flowchart illustrating the data processing method provided in the embodiments of this application. Figure 6 . Detailed Implementation
[0089] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0090] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0091] In the following description, the terms "first, second, third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0092] In this application embodiment, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.
[0093] Unless otherwise defined, all technical and scientific terms used in the embodiments of this application have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in the embodiments of this application is for the purpose of describing the embodiments of this application only and is not intended to limit this application.
[0094] In the implementation of this application, the collection and processing of relevant data should strictly comply with the requirements of relevant laws and regulations, obtain the informed consent or separate consent of the personal information subject, and carry out subsequent data use and processing within the scope of laws and regulations and the authorization of the personal information subject.
[0095] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.
[0096] 1) In response to, used to indicate the conditions or states on which the operation performed depends. When the conditions or states on which it depends are met, one or more operations performed may be performed in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations are performed.
[0097] 2) Human-computer interaction interface: an interface / display document associated interface used to provide human-computer interaction functions. Examples include graphical user interfaces (GUIs), augmented reality (AR) interfaces, virtual reality (VR) interfaces, voice user interfaces (VUIs), interactive projection interfaces (using projection technology to display information on a flat surface), eye-tracking interfaces (interfaces controlled by detecting the user's gaze), holographic interfaces (three-dimensional holograms formed by projecting images using holographic projection technology, allowing viewing of stereoscopic images without special glasses), multimodal interfaces (interfaces combining multiple interaction methods, such as tactile, visual, and auditory interaction), and brain-machine interfaces (BMIs).
[0098] 3) Client, also known as user terminal, refers to the program that provides local services to users in contrast to the server. Except for some applications that can only run locally, it is generally installed on ordinary client machines and needs to cooperate with the server to run. That is, there needs to be a corresponding server and service program in the network to provide the corresponding services. Thus, a specific communication connection needs to be established between the client and the server to ensure the normal operation of the application. For example, the client can be a document editing client, a data statistics client, a data collection client, etc.
[0099] 4) Documents are used to record information. Documents can include various elements such as text, images, video, and audio. Documents are electronic documents, which rely on computer systems for access and can be transmitted over communication networks. Documents can also be online documents, which are documents accessed and edited via the internet and have certain editable formats. For example, online documents can be text-based documents represented by word processor applications (Word) or text documents (TXT), presentation documents represented by PowerPoint (PPT), and portable document formats (PDF). Online documents allow users to store, share, and collaboratively process documents in the cloud. Online documents provide features such as real-time collaboration, multi-user editing, automatic saving, and version control.
[0100] During the research process, the inventors discovered the following technical problems in the relevant technology:
[0101] Technical Issue 1: In related technologies, after obtaining the answer to a question through data statistics, users can manually input the answer into a document according to their actual needs, thereby obtaining a document containing the answer. However, the manual input method takes a long time, resulting in a long time to obtain the document containing the answer. Furthermore, the probability of errors in manually input answers is relatively high, leading to low accuracy of the document containing the answer.
[0102] Technical Issue 2: In related technologies, after obtaining the answer to a question through data statistics, pie charts, bar charts, etc., can be generated using data statistics tools. However, these tools only support some display formats, and users cannot display the answer to the question according to their actual needs. In other words, related technologies offer limited formats for displaying the answer to the question, resulting in low flexibility and reduced user experience.
[0103] This application provides a data processing method, a data processing apparatus, an electronic device, a computer-readable storage medium, and a computer program product, which can improve the efficiency of generating files including answers and improve the accuracy of the generated files including answers.
[0104] See Figure 1 , Figure 1 This is a schematic diagram of the structure of the data processing system provided in the embodiments of this application. Figure 1 The data processing system 100 shown supports a data processing application. The terminal 400 is connected to the server 200 via a network 300, which can be a wide area network (WAN), a local area network (LAN), or a combination of both.
[0105] When a user needs to generate a file containing answers, a document association interface can be displayed on the graphical interface 410-1 of terminal 400. In the document association interface, a first selection control is displayed, used to select a document associated with the target data. The target data includes: answers obtained through statistical analysis of the questions; and the document includes at least one graphical element for displaying the answers.
[0106] In some embodiments, the target data may be pre-stored in the terminal 400, and a data acquisition request may be sent from the terminal 400 to the server 200, and the server 200 may send the target data to the terminal 400 based on the data acquisition request.
[0107] In response to a document selection operation triggered by the first selection control, the selected document is displayed. In response to an association operation on the target graphic element in the selected document, an association relationship between the target graphic element and the answer is established. In response to a confirmation instruction on the association relationship, a file corresponding to the selected document is generated, in which the target graphic element carries the answer.
[0108] The data processing method provided in this application can first associate a document with target data, and then associate the graphic elements in the document with the answers, thereby generating a file that uses the target graphic elements to carry the answers. This application provides a method that allows answers to be added to the corresponding positions of graphic elements in a file without the user having to manually input the answers into the document. It can quickly fill the file with answers obtained from data statistics on the questions. Compared with related technologies, this application can shorten the time to generate a file containing answers, improve the efficiency of generating a file containing answers, and improve the accuracy of the generated file containing answers.
[0109] The following describes the electronic device provided in the embodiments of this application. The electronic device implementing the data processing method of the embodiments of this application can be a terminal, a server, or a combination of both. The terminal can be implemented as various types of terminals such as laptops, tablets, desktop computers, set-top boxes, smartphones, smart speakers, smartwatches, smart TVs, and vehicle terminals.
[0110] The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. The terminal and server can be connected directly or indirectly via wired or wireless communication, which is not limited in this embodiment.
[0111] See Figure 2 , Figure 2 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Figure 2 The illustrated electronic device includes at least one processor 410, a memory 450, at least one network interface 420, and a user interface 430. The various components of the electronic device are coupled together via a bus system 440. It is understood that the bus system 440 is used to implement communication between these components. In addition to a data bus, the bus system 440 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in… Figure 2 The general labeled all buses as Bus System 440.
[0112] The processor 410 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.
[0113] User interface 430 includes one or more output devices 431 that enable the presentation of media content, including one or more speakers and / or one or more visual displays. User interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0114] The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state storage, hard disk drives, optical disk drives, etc. The memory 450 may optionally include one or more storage devices physically located away from the processor 410.
[0115] The memory 450 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 450 described in this application embodiment is intended to include any suitable type of memory.
[0116] In some embodiments, memory 450 is capable of storing data to support various operations, examples of which include programs, modules, and data structures or subsets or supersets thereof, as illustrated below.
[0117] Operating system 451 includes system programs for handling various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., for implementing various basic business functions and handling hardware-based tasks;
[0118] The network communication module 452 is used to reach other electronic devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 including: Bluetooth, WiFi, and Universal Serial Bus (USB), etc.
[0119] Presentation module 453 is configured to enable the presentation of information (e.g., a user interface for operating peripheral devices and displaying content and information) via one or more output devices 431 (e.g., a display screen, a speaker, etc.) associated with user interface 430;
[0120] The input processing module 454 is used to detect and translate one or more user inputs or interactions from one or more input devices 432.
[0121] In some embodiments, the data processing apparatus provided in this application can be implemented in software. Figure 2 A data processing device 455 stored in memory 450 is shown. This device can be software in the form of programs and plug-ins, and includes the following software modules: a display module 4551 and a response module 4552. These modules are logically linked and can therefore be arbitrarily combined or further separated according to the functions they implement. The functions of each module will be described below.
[0122] In other embodiments, the data processing apparatus provided in this application can be implemented in hardware. As an example, the data processing apparatus provided in this application can be a processor in the form of a hardware decoding processor, which is programmed to execute the data processing method provided in this application. For example, the processor in the form of a hardware decoding processor can be one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0123] In some embodiments, the terminal or server can implement the data processing method provided in this application by running various computer-executable instructions or computer programs. For example, computer-executable instructions can be microprogram-level commands, machine instructions, or software instructions. Computer programs can be native programs or software modules in an operating system; they can be native applications (APPs), i.e., programs that need to be installed in the operating system to run, such as document editing applications, data statistics applications, data collection applications, etc.; or they can be applets that can be embedded in any APP, i.e., programs that only need to be downloaded to a browser environment to run. In summary, the aforementioned computer-executable instructions can be any form of instruction, and the aforementioned computer programs can be any form of application, module, or plugin.
[0124] The following describes the data processing method provided in the embodiments of this application. As mentioned above, the electronic device implementing the data processing method of the embodiments of this application can be a terminal, a server, or a combination of both. See also Figure 3 , Figure 3 This is a flowchart illustrating the data processing method provided in the embodiments of this application. Figure 1 The following is combined with Figure 3 The steps shown are illustrated using an electronic device as an example to explain the data processing method provided in the embodiments of this application.
[0125] In step 101, the first selection control is displayed in the document association interface.
[0126] In practical applications, the terminal is equipped with a document editing client, a data statistics client, or a data collection client. The document editing client can be used to create, edit, and view documents. The data statistics client can perform statistical analysis and display the results. The data collection client is used to edit questions, collect answers to questions, and display the answers. Specific settings can be configured according to actual usage needs.
[0127] The following examples illustrate this with document editing clients, data statistics clients, and data collection clients. For instance, in a document editing client, the interface displays document association controls. When a user needs to generate a file including answers, the document association interface can be displayed in response to a trigger operation on the document association controls.
[0128] For example, in a data statistics client, if the target data is stored on the terminal, a document association control for the target data can be displayed. In response to a trigger operation on the document association control, the document association interface can be displayed.
[0129] For example, in a data collection client, the display interface of the data collection client can show at least one data collection task. In response to a setting command triggered for the data collection task, the setting page of the data collection task is displayed. The setting page can be used to configure the data collection task. The setting page can also display document association controls. In response to a trigger operation on the document association controls, the document association interface can be displayed.
[0130] In the document association interface, a first selection control is displayed. The first selection control is used to select the document associated with the target data. The target data includes the answer obtained by statistical analysis of the question. The document includes at least one graphic element for displaying the answer.
[0131] In this application, the target data can be text, images, video, audio, etc., and the document includes one or more graphic elements for displaying the answer. The graphic elements can be regular or irregular shapes, depending on the actual usage requirements.
[0132] The following examples illustrate the target data. In some embodiments, for educational scenarios, teachers can set questions and then perform data statistics on the questions to obtain the answers given by students. For example, the question could be "Who is the most popular student?" and the answer would be different students' names, photos, student IDs, and other data that can identify them.
[0133] In some embodiments, for new features launched in the application, questions can be set to obtain user answers through data statistics. For example, the question could be how difficult the new feature is, and the answer would be data that represents the level of satisfaction, such as 80%. Of course, the target data can be set according to actual usage needs, and no specific limitation is made here.
[0134] To facilitate understanding of the data processing method provided in the embodiments of this application, the following is combined with... Figure 4 Taking an application as a data collection client as an example, the data processing method provided in the embodiments of this application will be described below. See [link to relevant documentation]. Figure 4 , Figure 4 This is a schematic diagram of the display interface provided in an embodiment of this application.
[0135] In response to a data acquisition task creation command triggered by the data collection client, the data acquisition task display interface 401 is displayed. Figure 4 When the editor is selected, the displayed interface 401 is the page for editing the data collection task. Adding a cover is used to indicate that a cover should be added to the data collection task. "Please elect the class star" is the name of the data collection task. "Schedule and repeat" is used to schedule or repeat the data collection task.
[0136] The "Enter List" section is used to set the list of users who will complete the data collection task; that is, to set the users whose answers need to be collected. The "End Page" section is used to set the end page for the data collection task. For the data collection task, the first question is "Who is the most popular student?", and the second question is "Your favorite moment?". For the first question, you can enter different students' names, photos, student IDs, and other data that can identify them. For the second question, you can upload images (pictures).
[0137] To further improve the efficiency of users creating data collection tasks, the display interface 401 shows "Let the AI document assistant help you add questions...". In response to the trigger operation of "Let the AI document assistant help you add questions...", questions can be automatically generated in the display interface 401, thereby further improving the user experience.
[0138] In some embodiments, after setting the questions in the data collection task, a document association interface can be displayed in response to a trigger operation on the document association control. In some embodiments, after the data collection task is set up, the data collection task can be published, and after the answers obtained from data statistics on the questions in the data collection task, a document association interface can be displayed in response to a trigger operation on the document association control. Specific settings can be configured according to actual usage requirements and are not specifically limited here.
[0139] For example, see Figure 4 After setting the first and second questions, in response to a trigger action on the preview control, preview pages for the first question "Who is the most popular classmate?" and the second question "Favorite moment?" can be displayed. In response to a trigger action on the publish control 402, a data collection task can be published, allowing other users to fill in the corresponding answers based on the questions in the data collection task. This effectively achieves the acquisition of target data, which includes the answers obtained through statistical analysis of the questions in the data collection. In this way, precise target data can be obtained.
[0140] See Figure 5 , Figure 5 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 1 , undertake Figure 4 In response to Figure 4 The triggered operation of the statistics control in the data collection module can display statistical data for the data collection task. Figure 5 (Not shown in the image) and a document association control 501, in response to a trigger operation on the document association control 501, a document association interface 502 can be displayed, and a first selection control 503 can be displayed in the document association interface 502. The first selection control 503 is used to select the document associated with the target data collected by the data acquisition task. Figure 5 The system also displays a prompt message for the first selection control 503, which reads "Search for the document to be associated".
[0141] Through the above step 101, the document association interface can be displayed, and the first selection control can be displayed in the document association interface. The first selection control is used to select the document associated with the target data, which facilitates the subsequent generation of a file containing graphic elements for the answer, thereby improving the efficiency of generating a file containing the answer and improving the accuracy of the generated file containing the answer.
[0142] See also Figure 3 In step 102, in response to the document selection operation triggered based on the first selection control, the selected document is displayed.
[0143] In some embodiments, the first selection control is as follows: Figure 5 As shown, in response to the triggering operation of the first selection control, at least one document to be selected can be displayed (i.e., one or more documents to be selected can be displayed). In response to the selection operation of any one of the documents to be selected, the selected document can be displayed, which is equivalent to displaying the selected document in response to the document selection operation triggered by the first selection control.
[0144] For example, see Figure 6 , Figure 6 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 2 , undertake Figure 5 In response to a trigger operation on the first selection control 503, four documents to be selected can be displayed, namely document 601, document 602, document 603 and document 604.
[0145] See Figure 7 , Figure 7 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 3 , undertake Figure 6 In response to a selection operation on document 602, document 602 can be displayed in the associated area of the first selection control 503. The associated area of the first selection control 503 is the area where the first selection control 503 is displayed.
[0146] In some embodiments, the first selection control is as follows: Figure 5 As shown, in response to the triggering operation of the first selection control, a keyboard can be popped up. In response to the typing operation on the keyboard, the name of the file corresponding to the typing operation can be displayed in the associated area of the first selection control. This means that the user can input the document they want to associate according to their actual needs. Of course, the name of the document can also be input by handwriting, voice input, etc., which will not be elaborated here.
[0147] In some embodiments, there can be multiple first selection controls, each corresponding to a specific document. A trigger operation targeting a target first selection control among the multiple first selection controls is equivalent to a document selection operation based on the document corresponding to the target first selection control; the selected document can be displayed, that is, the document corresponding to the target first selection control can be displayed. Of course, the number and display method of the first selection controls can be set according to actual usage requirements, and will not be elaborated upon here.
[0148] Through step 102 above, one or more first selection controls can be used to select documents associated with target data, which is equivalent to associating documents with target data so that graphic elements in the document can be associated with answers in the future, thereby generating a file that uses target graphic elements to carry answers. This can facilitate improving the efficiency of generating files that include answers and improve the accuracy of the generated files that include answers.
[0149] The following describes the documents that can be associated with the target data. In some embodiments, the document can be a document template, which is a document pre-created by other users and includes graphical elements for displaying answers. That is, the document selected based on the first selection control is a document template.
[0150] In some embodiments, to further improve the user experience, Figure 3 Before step 101 shown, the user can set the graphic elements according to actual usage needs. Documents associated with the target data can all be set in the same way. The following description is based on the selected document. Other documents can be set in the same way. In some embodiments, the settings page of the selected document can be displayed. In response to the graphic element setting instruction triggered for the settings page of the document, the graphic element corresponding to the graphic setting instruction can be used as the graphic element for displaying the answer.
[0151] In some embodiments, see Figure 8 , Figure 8 This is a flowchart illustrating the data processing method provided in the embodiments of this application. Figure 2 The following is combined with Figure 8 The steps shown illustrate the first method of setting graphic elements, using the selected document as an example.
[0152] In step 105A, the first settings page of the selected document is displayed.
[0153] In practical applications, in some embodiments, users can create an initial document. In response to a setting instruction for the initial document, a first setting interface for the initial document can be displayed. The initial document corresponds to the selected document, which is equivalent to displaying the first setting interface for the selected document.
[0154] In some embodiments, one or more document templates to be selected can be displayed. In response to a setting instruction for any document template, a first setting interface for the document template can be displayed. The document template corresponds to the selected document, which is equivalent to displaying the first setting interface for the selected document.
[0155] The first settings page is used to set graphic elements in the selected document. The first settings page can display graphic drawing tools. The graphic drawing tools can be a primary tool for drawing any regular shape, or a secondary tool such as a pencil, pen, or ballpoint pen that allows the user to draw shapes. No specific limitations are made here.
[0156] In step 106A, based on the first settings page, in response to the drawing operation, the drawn graphic is determined as a graphic element used to display the answer.
[0157] In some embodiments, based on a first settings page, in response to a selection operation for a drawing tool, a drawing tool is displayed, and in response to a drawing operation based on the drawing tool, the drawn graphic is determined as a graphic element for displaying the answer.
[0158] In some embodiments, in response to a drawing operation based on a first tool, a regular graphic corresponding to the first tool can be displayed on a first settings page. The drawing operation can be used to set the area of the regular graphic corresponding to the first tool, thereby determining the drawn graphic as a graphic element used to display the answer. For example, the graphic element can be a square, a circle, a triangle, etc., without specific limitations.
[0159] In some embodiments, in response to a drawing operation based on a second tool, a drawing based on the second tool can be displayed on a first settings page. The drawing based on the second tool can be a regular shape or an irregular shape. The drawing operation can be used to set the shape and area of the drawing based on the second tool, and then the drawn drawing can be determined as a graphic element for displaying the answer.
[0160] For example, see Figure 10 , Figure 10 This is a schematic diagram of the first settings page provided in this application embodiment. Based on the first settings page 1001, in response to a graphics drawing operation, the drawn graphics 1002 are determined as graphic elements used to display answers. In this way, users can draw graphic elements in the document to display answers according to their actual usage needs, increasing the diversity of graphic elements. Using graphic elements to display answers is equivalent to increasing the diversity and richness of the displayed answers.
[0161] exist Figure 3 Before step 101 shown, users can set graphic elements according to their actual needs. Documents associated with the target data can all have their graphic elements set in the same way. See [link to relevant documentation]. Figure 9 , Figure 9 This is a flowchart illustrating the data processing method provided in the embodiments of this application. Figure 3 The following is combined with Figure 9 The steps shown illustrate the second method of setting graphic elements, using the selected document as an example.
[0162] In step 105B, the second settings page of the selected document is displayed.
[0163] In some embodiments, the second settings page displays at least one candidate graphic element. The selected document can be a document template or a document pre-created by the user. The method of displaying the selected document on the second settings page can be adjusted. Figure 8 The equivalent substitution shown in step 105A will not be elaborated here.
[0164] In step 106B, in response to the selection operation performed on the candidate graphic element, the selected candidate graphic element is set as the graphic element used to display the answer.
[0165] In some embodiments, the second settings page displays multiple candidate graphic elements in a candidate state. In response to a selection operation performed on the multiple candidate graphic elements in a candidate state, the selected candidate graphic element can be controlled to be in a selected state, and the selected candidate graphic element can be set as a graphic element for displaying the answer.
[0166] In this context, the candidate state refers to the state where no corresponding candidate graphic element has been selected. In some embodiments, to facilitate users in knowing which graphic elements are in the selected state and which are not (i.e., candidate state), a selection flag can be used to mark the graphic elements in the selected state.
[0167] For example, see Figure 11 , Figure 11 This is a schematic diagram of the second settings page provided in the embodiments of this application. Figure 1 The second settings page 1101 displays three candidate graphic elements: candidate graphic element 1102, candidate graphic element 1103, and candidate graphic element 1104. In response to a selection operation on candidate graphic element 1102, a selection indicator 1105 is displayed for candidate graphic element 1102, indicating that candidate graphic element 1102 is selected and set as the graphic element used to display the answer. This method allows for the setting of graphic elements; the selected graphic element displays a selection indicator, increasing the richness of the second settings page. Furthermore, users can more intuitively distinguish between selected and unselected (i.e., candidate) graphic elements, thereby improving the user experience.
[0168] In some embodiments, the selection operation performed on candidate graphic elements can be triggered by clicking, double-clicking, voice control, touch, etc., and the specific method can be set according to the actual situation. In some embodiments, the user can also draw a selected area, and set candidate graphic elements whose overlapping area with the drawn selected area is greater than a preset threshold as graphic elements used to display the answer.
[0169] In some embodiments, for the first settings page, the arrangement order of multiple drawn graphic elements can be set. The arrangement order can be the drawing order or an order set by the user according to actual usage needs. In some embodiments, for the second settings page, the arrangement order of multiple selected graphic elements can be set. The arrangement order can be the selection order or an order set by the user according to actual usage needs.
[0170] For example, see Figure 12 , Figure 12 This is a schematic diagram of the second settings page provided in the embodiments of this application. Figure 2In the second settings page 1201, three candidate graphic elements are displayed, namely candidate graphic element 1202, candidate graphic element 1203 and candidate graphic element 1204. In response to the selection operation of candidate graphic element 1202, a selection mark can be displayed for candidate graphic element 1202. The selection mark is 01 displayed in the associated area of candidate graphic element 1202.
[0171] In response to a selection operation on candidate graphic element 1203, a selection indicator can be displayed for candidate graphic element 1203. The selection indicator is 02 displayed in the associated area of candidate graphic element 1203. Candidate graphic element 1204 is not selected, so it does not need to be marked. In this way, users can easily see the selected and unselected graphic elements, and the arrangement order of the graphic elements can be displayed, which can improve the richness of the second settings page and enhance the user experience.
[0172] In some embodiments, for the above Figure 9 In step 106B, in response to the selection operation performed on the candidate graphic element, a setting control corresponding to the selected candidate graphic element is displayed. The setting control is used to set the selected candidate graphic element as a graphic element.
[0173] For example, see Figure 13 , Figure 13 This is a schematic diagram of the second settings page provided in the embodiments of this application. Figure 3 , undertake Figure 12 In response to a selection operation performed on candidate graphic element 1202, a settings control 1301 corresponding to the selected candidate graphic element 1202 is displayed.
[0174] See Figure 14 , Figure 14 This is a schematic diagram of the second settings page provided in the embodiments of this application. Figure 4 , undertake Figure 13 In response to a trigger operation on the setting control 1301, a pop-up window can be displayed to show the element setting page 1401 of the candidate graphic element 1202.
[0175] On the element settings page 1401, multiple sub-setting controls for the candidate graphic element 1202 can be displayed. These sub-setting controls can include style setting controls, text setting controls, and associated coordinate setting controls under the format settings item. The style setting controls are used to set the display style of the candidate graphic element 1202, and the text setting controls are used to set the style of the text corresponding to the candidate graphic element 1202. The text corresponding to the candidate graphic element 1202 can be the text carried by the candidate graphic element 1202, or it can be the text of the answer carried by the candidate graphic element 1202, which can be set according to actual usage requirements. The animation settings item is used to set the display animation of the candidate graphic element 1202.
[0176] In response to a trigger operation on the associated coordinate setting control, the position setting control corresponding to the candidate graphic element 1202 can be displayed. In response to a position setting command triggered on the position setting control, the position information corresponding to the position setting command can be displayed in the associated area of the position setting control, and correspondingly, the position information corresponding to the position setting command can be displayed in the associated area of the candidate graphic element 1202. The position information can be in coordinate form or as a position identifier. Figure 14 The location information displayed is the location identifier, namely "$1", which is the element identifier.
[0177] Combination Figure 13 and Figure 14 It can be seen that, based on Figure 13 The setting control 1301 shown, in response to the identifier setting operation for the selected candidate graphic element 1202, creates an element identifier "$1" for the selected candidate graphic element 1202. The element identifier is used to identify the selected candidate graphic element 1202 as a graphic element for displaying the answer.
[0178] Of course, element identifiers can also be one or more of other graphic identifiers, text identifiers, video identifiers, and audio identifiers. In this way, element identifiers for selected candidate graphic elements can be created, and element identifiers can be used to identify graphic elements that display the answer.
[0179] In some embodiments, in response to a selection operation performed on a candidate graphic element, if the candidate graphic element has a set element identifier, a first prompt message is displayed, wherein the first prompt message is used to prompt whether to cancel setting the candidate graphic element as a graphic element for displaying the answer.
[0180] If a candidate graphic element has a set element identifier, it means that the candidate graphic element has an associated answer. Therefore, the first prompt message can be displayed. The first prompt message can be "Cancel setting the candidate graphic element as a graphic element?" In response to the confirmation command triggered by the first prompt message, the candidate graphic element can be canceled from being set as a graphic element.
[0181] In response to the rejection command triggered by the first prompt, indicating that the user still needs to set the candidate graphic element as a graphic element, the existing element identifier of the candidate graphic element can be deleted, and a new element identifier can be added to the candidate graphic element. This allows the candidate graphic element to be set as the graphic element used to display the answer. In this way, a prompt can be displayed asking whether to cancel setting the candidate graphic element as the graphic element used to display the answer. This allows users to set the candidate graphic element as the graphic element used to display the answer according to actual usage needs, thereby improving the user experience.
[0182] See also Figure 3 In step 103, in response to the association operation for the target graphic element in the selected document, an association relationship between the target graphic element and the answer is established.
[0183] The following describes several ways to establish the association between target graphic elements and answers. The first method is described below. In some embodiments, the selected document includes at least one first document page, that is, the selected document includes one or more document pages. The question includes a first question, and the first question has a corresponding first answer. The number of first questions is one or more, and for each first question, the number of first answers can be one or more.
[0184] In some embodiments, the first question may be displayed in the document association interface, that is, one or more first questions may be displayed in the document association interface. For example, see Figure 15 , Figure 15 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 4 The first question 1503 can be displayed in the document association interface 1501. The first question 1503 is "Who is the most popular student?" The document association interface also displays a page number setting control 1502. The associated area of the page number setting control 1502 displays a prompt message, which is "Please select a page number".
[0185] For each first question, based on the first question and in response to the selection operation of the first document page in the selected document, the association between the target graphic element in the selected first document page and the first answer can be automatically established, the first answer can be displayed, and the target graphic element can be displayed in association with the first answer.
[0186] In some embodiments, a page number setting control corresponds one-to-one with the first question. For the first question, in response to a trigger operation on the corresponding page number setting control, multiple candidate document pages from the selected document can be displayed. In response to a selection operation on one or more candidate document pages, the selected first or more candidate document pages can be used as the first document page. This allows for the automatic establishment of an association between the target graphic element in the selected first document page and the first answer, displaying the first answer, and associating the target graphic element with the first answer. The number of first document pages is one or more.
[0187] In some embodiments, in response to the input operation of the corresponding page number setting control for the first question, the first document page corresponding to the entered page in the selected document can be displayed. This allows for the automatic establishment of an association between the target graphic element in the selected first document page and the first answer, displaying the first answer, and displaying the target graphic element in association with the first answer. In other words, the first document page can be determined by the user inputting a page number, or it can be selected by the user from multiple document pages.
[0188] For example, see Figure 16 , Figure 16 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 5 In response to a selection operation targeting page 2 of the selected document (which is the first document page), the system can automatically establish associations between the target graphic elements on the selected first document page and the first answer. The target graphic elements on the first document page include graphic element 1601, image element 1602, and graphic element 1603. The first answer includes "Zhang San," "Li Si," and "Wang Wu." The system can automatically create associations between graphic element 1601 and "Zhang San," image element 1602 and "Li Si," and graphic element 1603 and "Wang Wu."
[0189] The document association interface 1501 can display "Zhang San" and its associated graphic element 1601, as well as "Li Si" and its associated graphic element 1602, and "Wang Wu" and its associated graphic element 1603. In this way, the association between the target graphic element in the selected first document page and the first answer can be automatically established. The first answer and the target graphic element can be displayed together in the document association interface, increasing the richness of the interface. Users can intuitively see the first question, the first answer to the first question, and the target graphic element associated with the first answer, thus improving the user experience.
[0190] The following explains how the association between the target graphic elements in the selected first document page and the first answer is automatically established. The number of the first answer is the first quantity, which is a positive integer greater than 0. The number of target graphic elements in the first document page is the second quantity, which is a positive integer greater than 0.
[0191] When the first quantity equals the second quantity, that is, when the number of users of the first answer corresponding to a first question is the same as the number of target graphic elements in the first document page, in response to the selection operation of the first document page in the selected document, the association between the target graphic element and the first answer can be automatically created, and the target graphic element has a unique association with the first answer.
[0192] In some embodiments, when there are multiple first answers and multiple target graphic elements in the first document page, the first answer has a statistical count, and the multiple target graphic elements in the first document page have an arrangement order. The statistical count is the number of times the first answer appears for the first question.
[0193] In response to a selection operation on the first document page of the selected document, the first answer can be sorted in descending order of statistical quantity. Based on the order determined by the statistical quantity and the arrangement order among multiple graphic elements, a consistent association between the target graphic element and the first answer can be automatically established.
[0194] In some embodiments, graphic elements have corresponding element identifiers. In order to improve the simplicity of the document association interface, after establishing the association between the target graphic elements with consistent order and the first answer, the first answer can be displayed, and the element identifier of the target graphic element can be displayed in association with the first answer.
[0195] For example, see Figure 17 , Figure 17 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 6 The first document page is the second page of the selected document. In response to the selection operation of the first document page in the selected document, the second page can be displayed in the associated area of the page number setting control 1502, and the association relationship between the target graphic element in the selected first document page and the first answer can be automatically established.
[0196] Each target graphic element on the first document page has a corresponding element identifier, which are "$1", "$2", and "$3" respectively. The order of the target graphic elements is the graphic element corresponding to "$1" (i.e., Figure 16 The graphic element 1601 in the text corresponds to the graphic element "$2" (i.e.) Figure 16Before graphic element 1602 in the text, the graphic element corresponding to "$2" is before the graphic element corresponding to "$3" (i.e. Figure 16 Before the graphic element 1603 in the document association interface, the first answer to the first question 1503 can be displayed in the document association interface 1501. The first answer includes "Zhang San", "Li Si" and "Wang Wu". The number of "Zhang San" is greater than the number of "Li Si" and the number of "Li Si" is greater than the number of "Wang Wu".
[0197] It can automatically create correspondences between the graphic elements corresponding to "Zhang San" and "$1", "Li Si" and "$2", and "Wang Wu" and "$3". In the document association interface 1501, it can display "Zhang San" and its associated graphic element "$3", as well as "Li Si" and its associated graphic element 1602, and "Wang Wu" and its associated graphic element 1603. In this way, it can automatically establish the association between the target graphic element in the selected first document page and the first answer, and display the first answer and target graphic element together in the document association interface. This enhances the richness of the document association interface, and allows users to intuitively see the first question, the first answer to the first question, and the target graphic element associated with the first answer, thus improving the user experience.
[0198] When the number of target graphic elements is a second number and the second number is less than the first number, in response to the selection operation of the first document page in the selected document, the first answer group obtained by grouping multiple first answers is displayed, and the number of first answer groups is the second number.
[0199] The following describes the method of grouping multiple first answers to obtain a first answer group. In some embodiments, the first answers can be divided according to the statistical quantity of the first answers. The first answers can be divided into first answer groups based on the pre-set quantity range in which the statistical quantity is located. There are multiple first answer groups and multiple quantity ranges. One first answer group corresponds to one quantity range, and the number of first answers in one first answer group is one or more.
[0200] In some embodiments, the first answers can be sorted according to the statistical quantity, and the first answer that ranks first in the sort is taken as a first answer group, the first answers that rank second to fifth in the sort are taken as another first answer group, and so on. The difference in the number of first answers included in adjacent first answer groups is the same, and the difference can be 4. The difference can also be set according to actual usage requirements.
[0201] In some embodiments, the first answer can be randomly divided to obtain multiple first answer groups. In some embodiments, in response to a selection operation on a first document page in a selected document, an answer group editing page can be displayed, and multiple first answers can be displayed on the answer group editing page. In response to a grouping instruction for the multiple first answers, the first answer groups obtained by grouping the multiple first answers can be displayed.
[0202] For example, the answer group editing page can display areas corresponding to different answer groups. In response to a move command for the first answer, the answer group indicated by the move command is designated as the first answer group to which the first answer belongs, thus enabling the grouping of multiple first answers.
[0203] In some embodiments, the classification can also be based on the type corresponding to the first answer. The type can be determined according to the substantive meaning of the first answer. For example, if the first question is "What do you like to eat?", the first answer could include apples, bananas, and chocolate. Apples and bananas are fruits, while chocolate is a snack. Therefore, apples and bananas can be classified into one first answer group, and chocolate into another. Through this method, precise classification of the first answer can be achieved, resulting in a second number of first answer groups. These first answer groups are used to establish the association between the target graphic element and the first answer group, thereby further improving the efficiency of generating files containing answers and the accuracy of the generated files.
[0204] In some embodiments, in response to a confirmation instruction triggered for the displayed first answer group, an association between the target graphic element in the selected first document page and the first answer group is automatically established, the first answer in the first answer group is displayed, and the target graphic element is displayed in association with the first answer group.
[0205] The method for automatically establishing the association between the target graphic element in the selected first document page and the first answer group can be found in the method for automatically establishing the association between the target graphic element in the selected first document page and the first answer, and will not be specifically limited here.
[0206] For example, see Figure 18 , Figure 18 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 7The first document page is page 3 of the selected document. In response to the selection operation on the first document page, the document association interface 1801 displays the first answer groups, which are obtained by grouping the five first answers. The first answers include first answer 1802, first answer 1803, first answer 1804, first answer 1805, and first answer 1806. First answer group 1 includes first answer 1802 and first answer 1803, and the first answers in first answer group 1 are all motion-type images. First answer group 2 includes first answer 1804, first answer 1805, and first answer 1806, and the first answers in first answer group 2 are all expression-type images.
[0207] In response to the confirmation command triggered for the first displayed answer group, the association between the target graphic element in the selected first document page and the first answer group is automatically established. The target graphic element has a corresponding element identifier, that is, the association between the first answer group 1 and the element identifier "$4" of the target graphic element can be automatically established, and the association between the second answer group 2 and the element identifier "$5" of the target graphic element can be automatically established. The first answer 1802 and the first answer 1803 in the first answer group 1 can be displayed, and the element identifier "$4" of the target graphic element can be displayed in association with the first answer group 1. The first answer 1804, the first answer 1805 and the first answer 1806 in the first answer group 2 can be displayed, and the element identifier "$5" of the target graphic element can be displayed in association with the first answer group 2.
[0208] In combination with the above Figure 18 Before responding to a confirmation command triggered for the first displayed answer group, the element identifiers "$4" and "$5" of the target graphic element may not be displayed. Figure 18 The above process is not shown in the text. (Combined) Figure 18 It can be seen that when the second quantity is less than the first quantity, the first answer can be grouped, and then the association between the first answer group and the target graphic element can be established. The first answer group can include one or more first answers, that is, the target graphic element can have one or more associated first answers, which can improve the richness of the document association interface, and users can intuitively know the first question, the first answer of the first question, and the target graphic element associated with the first answer group, which can improve the user experience.
[0209] In some embodiments, the number of first answers can be a third number, which can be greater than, less than, or equal to the first number. The number of target graphic elements in the first document page can be a fourth number, which can be greater than, less than, or equal to the second number. Both the third and fourth numbers are positive integers greater than 0. For the case where the fourth number is less than the third number, please refer to the content corresponding to the case where the second number is less than the first number, which will not be repeated here.
[0210] When the number of target graphic elements is the fourth number and the fourth number is greater than the third number (including the case where the second number is greater than the first number), in response to the selection operation for the first document page in the selected document, the target graphic elements in the selected first document page are displayed, and the target graphic elements are in the candidate state.
[0211] In response to a selection command for a target graphic element that is in the candidate state, the system automatically establishes an association between the selected target graphic element and the first answer, displays the first answer, and displays the selected target graphic element in association with the first answer.
[0212] In some embodiments, each target graphic element has a corresponding selection control. In response to a trigger operation on the selection control corresponding to multiple target graphic elements, the target graphic element corresponding to the trigger operation can be controlled to be in a selected state. In response to a confirmation instruction on a target graphic element in a selected state, which is equivalent to a selection instruction on a target graphic element in a candidate state, the association between the selected target graphic element and the first answer is automatically established, the first answer is displayed, and the selected target graphic element is displayed in association with the first answer.
[0213] For example, see Figure 19 , Figure 19 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 8 The fourth page of the selected document is the first document page. The target graphic elements 1902, 1903, 1904, 1905, 1906 and 1907 of the first document page can be displayed in the document association interface 1901. For each target graphic element, a corresponding selection control is displayed, and each selection control is in the candidate state.
[0214] The first answer has 3 elements, meaning the third answer also has 3 elements. Users can select target graphic elements that are less than or equal to 3 based on their actual needs. See also Figure 20 , Figure 20 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 9In response to a trigger operation on the selection control for the target graphic element 1902, the target graphic element 1902 can be controlled to be selected. In response to a trigger operation on the target graphic element 1906, the target graphic element 1906 can be controlled to be selected.
[0215] In response to the confirmation command for the selected target graphic elements 1902 and 1906, the association between target graphic element 1902 and first answer 1 and first answer 2 is automatically established, and the association between target graphic element 1906 and first answer 3 is also established. This is equivalent to grouping the first answers; for details, please refer to the explanation of grouping the first answers.
[0216] See Figure 21 , Figure 21 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 10 In response to a confirmation command for the selected target graphic elements 1902 and 1906, the system can display first answer 1 and first answer 2, and associate target graphic element 1902 with first answer 1 and first answer 2. It can also display first answer 3, and associate target graphic element 1906 with first answer 3. This method automatically establishes associations between target graphic elements and first answers even when the number of target graphic elements exceeds the number of first answers. This enhances the richness of the document association interface, allowing users to intuitively see the first question, the first answer to the first question, and the associated target graphic elements, thus improving the user experience.
[0217] In some embodiments, for the first creation method, after displaying the first answer and displaying the target graphic element associated with the first answer, in order to facilitate the establishment of a more accurate association between the first answer and the target graphic element, an association relationship adjustment control can be displayed in the document association interface. The association relationship adjustment control is used to adjust the association relationship between the automatically created target graphic element and the first answer.
[0218] In some embodiments, in response to an adjustment instruction triggered by an association adjustment control, the association is updated to the association between the first answer and the target graphic element indicated by the adjustment instruction, the first answer is displayed, and the target graphic element indicated by the adjustment instruction is displayed in association with the first answer.
[0219] In some embodiments, a corresponding first adjustment control may be displayed for each first answer. The first adjustment control is used to change the target graphic element associated with the first answer. In response to a trigger operation on the first adjustment control, multiple candidate graphic elements may be displayed. In response to a selection operation on any candidate graphic element, the target graphic element associated with the first answer may be changed to the graphic element corresponding to the selection operation. The candidate graphic elements may be graphic elements of answers without association, or graphic elements of answers with association.
[0220] If a candidate graphic element is an associated element of a previous answer, a second prompt can be displayed. This second prompt asks whether the target graphic element associated with the first answer should be changed. In response to a confirmation command triggered by the second prompt, the target graphic element associated with the first answer can be changed to the graphic element corresponding to the selection operation, and the association between the graphic element corresponding to the selection operation and the previous answer can be canceled. The previous answer is only used to distinguish it from the first answer. In response to a cancellation command triggered by the second prompt, the association between the graphic element corresponding to the selection operation and the previous answer remains unchanged. This approach guides users to create more precise associations.
[0221] In some embodiments, a corresponding second adjustment control can be displayed for each target graphic element. The second adjustment control is used to change the first answer associated with the target graphic element. In response to a trigger operation on the second adjustment control, multiple candidate first answers can be displayed. In response to a selection operation on any candidate first answer, the first answer associated with the target graphic element can be changed to the first answer corresponding to the selection operation. The candidate first answer can be an answer without an associated graphic element, or it can be an answer with an associated graphic element. Specifically, the content corresponding to the first adjustment control can be equivalently replaced, which will not be elaborated here.
[0222] By adjusting the controls, the association between automatically created graphic elements and the first answer can be updated. This allows for the creation of a more precise association between graphic elements and the first answer, taking into account the user's actual needs, and further improving the accuracy of the generated file containing the answer.
[0223] The second method of establishing the question is described below. In some embodiments, the question includes a second question, the second question corresponds to a second answer, and the number of second answers includes at least one. The second question is only used to distinguish it from the first question, and the second answer is only used to distinguish it from the first answer. For details, please refer to the description of the first answer, which will not be repeated here.
[0224] In some embodiments, a second question may be displayed in the document association interface. For details, please refer to the description of displaying the first question in the document association interface; this will not be repeated here. In the association area of the second question, a second answer and a second selection control corresponding to each second answer are displayed. The second selection control is used to select the target graphic element associated with the corresponding second answer.
[0225] In some embodiments, due to the limited area of the document association interface, only the target number of second answers can be displayed. If the number of second answers is less than the target number, multiple second answers are displayed in the association area of the second question. If the number of second answers is greater than or equal to the target number, the target number of second answers is displayed in the association area of the second question in descending order of their statistical count.
[0226] In other words, the second answers can be sorted in descending order of statistical quantity to obtain the first order. Then, the second answer corresponding to the position of the first target quantity can be displayed in the document association interface. For example, if there are 5 second answers, the order would be Second Answer 1-Second Answer 2-Second Answer 3-Second Answer 4-Second Answer 5. If the target quantity is 3, Second Answer 1-Second Answer 2-Second Answer 3 can be displayed in the document association interface. In some embodiments, the target quantity can be set according to actual usage needs. The target quantity can also be determined based on the area of the document association interface and the area occupied by the second answer; no specific limitations are made here.
[0227] In some embodiments, if the number of second answers exceeds the target number, the target number of second answers will be displayed in the associated area of the second question, in ascending order of their statistical count. Specific settings can be configured according to actual usage requirements.
[0228] By displaying a number of second answers that are less than or equal to the target number in the document association interface, the clarity of the second answers can be improved. When the number of second answers exceeds the target number, the second answers can be filtered based on statistical counts, thus displaying answers that better meet the user's needs. This facilitates the subsequent creation of more precise associations between target graphic elements and second answers.
[0229] In some embodiments, for each second answer, in response to an element selection operation triggered by the second selection control, the selected target graphic element is displayed, and an association is established between the selected target graphic element and the second answer.
[0230] In some embodiments, for each second answer, in response to a triggering operation on the second selection control, at least one target graphic element adapted to the second answer can be displayed, wherein the target graphic element is adapted to the second answer in a way that the target graphic element can fully display the second answer. In response to a triggering operation on the displayed target graphic element, the selected target graphic element can be displayed, and an association relationship between the selected target graphic element and the second answer can be established.
[0231] For example, see Figure 22 , Figure 22 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 10 First, in the document association interface 2201, display the second answer 2202 and the corresponding second selection control 2203. In response to a trigger operation on the second selection control 2203, multiple target graphic elements adapted to the second answer can be displayed. Figure 22 The display shows target graphic element 2204 and target graphic element 2205.
[0232] See Figure 23 , Figure 23 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 10 Second, in response to a triggered operation on the target graphic element 2205, the target graphic element 2205 can be displayed in the associated area of the second selection control 2203, and an association relationship can be established between the target graphic element 2205 and the second answer 2202. In this way, by displaying the second answer and then selecting the target graphic element associated with it, an association relationship can be established between the selected target graphic element and the second answer. This enhances the richness of the document association interface, and allows users to intuitively understand the second answer to the second question and the target graphic element associated with it, thus improving the user experience.
[0233] In some embodiments, for each second answer, in response to a triggering operation on the second selection control, a text input area can be displayed. In response to the name of the target graphic element entered in the text input area, the name of the target graphic element can be displayed in the text input area, and an association relationship between the entered target graphic element and the second answer can be established. Specific settings can be configured according to actual usage requirements. After establishing the association relationship, the second answer can be displayed, and the selected target graphic element can be displayed in association with the second answer. This enhances the richness of the document association interface, and allows users to intuitively understand the second answer to the second question and the target graphic element associated with the second answer, thereby improving the user experience.
[0234] In some embodiments, in the document association interface, the update control can be displayed in a first style. The update control is used to update the displayed second answer when the target data is updated. In response to the existence of an update in the target data, the display style of the update control is switched from the first style to the second style.
[0235] The first style differs from the second style. The first style can be used to indicate that the target data has not been updated temporarily, while the second style is used to indicate that the target data has been updated. The first and second styles can be represented by at least one of the following: different colors, different symbols, different shapes, and different prompt messages.
[0236] For example, if the target data has not been updated, the update control can be displayed in red, corresponding to the first style. If the target data has been updated, the update control can be displayed in green, corresponding to the second style. As another example, if the target data has not been updated, the update control can be displayed in red, and the update control itself is circular; red and a circle correspond to the first style. If the target data has been updated, the update control can be displayed in yellow, and the update control itself is square; yellow and a square correspond to the second style.
[0237] For example, if the target data has not been updated, a message indicating no update can be displayed, such as "Target data has not been updated." Conversely, if the target data has been updated, an update message can be displayed, such as "Target data was updated at time point a." This allows users to more intuitively determine whether the target data has been updated, enabling the creation of a more precise association between the answer and the target graphic element, thereby further improving the accuracy of the generated answer file.
[0238] In some embodiments, the update control displayed using the first style is in an unselectable state, while the update control displayed using the second style is in an selectable state. This avoids accidental touches on the update control and further improves the user experience.
[0239] In some embodiments, in response to an update instruction triggered for an update control displayed in the second style, the updated second answer is displayed in the associated area of the second question, that is, the previous second answer is replaced with the updated second answer.
[0240] For each updated second answer, in response to an element selection operation triggered by the second selection control, the selected target graphic element is displayed, and a relationship is established between the target graphic element and the updated second answer. This method creates a more precise relationship between the answer and the target graphic element, further improving the accuracy of the generated file containing the answer.
[0241] In some embodiments, after displaying the selected target graphic element and establishing an association between the selected target graphic element and the second answer, in response to the update of the target data, the association between the target graphic element and the second answer is automatically updated, and the association update information is displayed. The association update information includes the second answer before the update of the association between the target graphic element and the second answer after the update of the association between the target graphic element and the target graphic element.
[0242] For example, see Figure 24 , Figure 24 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 10 Third, the updated association information can be displayed in the document association interface 2401. The association prompts include the second answer 2404 before the update of the association between the target graphic element 2402 and the second answer 2403 after the update. Figure 24 In this context, an arrow pointing from the second answer 2404 to the second answer 2403 can be used to represent the update of the second answer associated with the target graphic element from the second answer 2404 to the second answer 2403. Alternatively, text labels such as "before update" and "after update" can be used. Of course, other labels can be set according to actual usage needs; no specific limitations are made here.
[0243] This application enables automatic updates of relationships without manual user intervention when target data is updated, and displays the updated relationship information. Users can more intuitively see the second answer before and after the update of the target graphic element relationship, which can improve the richness of the document relationship interface and enhance the user experience.
[0244] The third method of establishment is described below. In some embodiments, the document association interface displays target graphic elements in the selected document, and displays a third selection control corresponding to each target graphic element. The third selection control is used to select the answer associated with the corresponding target graphic element. The number of target graphic elements may include one or more.
[0245] In response to a trigger action on the third selection control, at least one optional answer is displayed (i.e., one or more optional answers are displayed). In response to a selection action on the displayed answer, an association is established between the corresponding target graphic element and the selected answer. In this way, by displaying the target graphic element and then selecting the answer corresponding to that target graphic element, an association is established between the target graphic element and the selected second answer. This allows the selected answer to be displayed, and the target graphic element associated with the selected answer is displayed, enhancing the richness of the document's associated interface. Furthermore, users can intuitively understand the answer and the associated target graphic element, improving the user experience.
[0246] In some embodiments, in response to a triggering operation on a third selection control, at least one answer adapted to the target graphic element can be displayed, and in response to a selection operation on the displayed answer, an association between the corresponding target graphic element and the selected answer can be established.
[0247] In some embodiments, there are multiple optional answers. In response to a trigger operation on a third selection control, multiple optional answers are displayed, and the statistical count of each answer is displayed. Based on the statistical count, in response to a selection operation on the displayed answer, an association relationship is established between the corresponding target graphical element and the selected answer.
[0248] For example, see Figure 25 , Figure 25 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 10 Fourth, the target graphic element 2502 and the third selection control 2503 corresponding to the target graphic element 2502 are displayed in the document association interface 2501. In response to the trigger operation on the third selection control 2503, the answers 2504, 2505, the statistical quantity of the answer 2504 2506 and the statistical quantity of the answer 2505 2507 can be displayed.
[0249] Based on the statistical counts 2506 for answer 2504 and 2507 for answer 2505, the user can select an answer that better suits their needs. In response to the selection of answer 2504, answer 2504 can be displayed in the associated area of the third selection control 2503, or answer 2504 and its statistical count 2506 can be displayed. This is equivalent to displaying the target graphic element 2502 and displaying answer 2504 in association with it. Figure 25(Not shown in the image), and can establish an association between the target graphic element 2502 and the answer 2504. In this way, the statistical number of answers can be displayed, which can help users to more accurately select the answer associated with the target graphic element, thereby improving the established association between the target graphic element and the answer, and further improving the accuracy of the generated file including the answer.
[0250] The fourth method of establishment is described below. In some embodiments, the target graphic element has a corresponding element identifier. In response to the association operation between the element identifier and the answer, the association relationship between the graphic element corresponding to the element identifier and the answer is established.
[0251] Regarding the first method described above, based on the first question, in response to a selection operation on the first document page within the selected document, the association between the target graphic element in the selected first document page and the first answer can be automatically established, the first answer can be displayed, and the element identifier of the target graphic element can be displayed in association with the first answer. Specifically, the content of the first method can be equivalently replaced, which will not be elaborated upon here.
[0252] Regarding the second method described above, for each second answer, in response to a trigger operation on the second selection control, at least one element identifier of the target graphic element can be displayed. In response to a selection operation on the element identifier, the selected element identifier is displayed, and the association between the target graphic element corresponding to the selected element identifier and the second answer is established. Specifically, the content of the second method can be equivalently replaced, which will not be elaborated upon here.
[0253] Regarding the third method described above, the document association interface can display the element identifiers of the target graphic elements in the selected document, and a fourth selection control corresponding to each element identifier. This fourth selection control is used to select the answer associated with the corresponding target graphic element based on the element identifier. In response to a trigger operation on the fourth selection control, at least one selectable answer is displayed. In response to a selection operation on the displayed answer, the association between the target graphic element corresponding to the element identifier and the selected answer is established. The content of the third method can be equivalently replaced, and will not be elaborated upon here.
[0254] The fourth creation method in this application embodiment can be combined with any one of the first to third creation methods. The area occupied by the element identifier is smaller than the area occupied by the target graphic element, which can improve the simplicity of the document association interface and thus improve the user experience.
[0255] In this application, at least two of the above-mentioned first to fourth methods can be used simultaneously to establish the relationship between the target graphic elements and the answers for the document association interface, thereby further improving the richness of the document association interface and improving the accuracy of the generated file including the answers.
[0256] In step 104, in response to the instruction to determine the association, the file corresponding to the selected document is generated.
[0257] In some embodiments, a confirmation control can be displayed in the document association interface. In response to a trigger operation on the confirmation control, which is equivalent to a confirmation instruction on the association relationship, the file corresponding to the selected document can be generated.
[0258] The target graphic element in the file contains the answer. The generated selected document can be a document, image, or video. The document can be a PowerPoint presentation, a PDF, or a Word document, depending on the specific usage requirements. The diverse file formats generated in this application provide users with more choices, thereby improving the user experience.
[0259] In some embodiments, a generation control is displayed in the document association interface. In response to a trigger operation on the generation control, a file preview interface can be displayed. Users can view the display effect of adding the answer to the associated target graphic element in the preview interface. In response to a cancellation operation triggered on the preview interface, the document association interface can be displayed. Thus, any of the first to fourth establishment methods described above can be used to establish the association relationship, which will not be elaborated here.
[0260] In response to a confirmation operation on the preview interface, which is equivalent to a confirmation instruction on the association, the file corresponding to the selected document can be generated. In some embodiments, the preview interface may also display at least one of the following: a watermark control, an output method control, a QR code addition control, and a resolution control. Before responding to a confirmation operation on the preview interface, any of the following operations can be performed.
[0261] For the watermark control, there are a first watermark sub-control, a second watermark sub-control, and a third watermark sub-control. In response to the trigger operation of the first watermark sub-control, a watermark can be added at any position in the file. When the content page of the file is displayed subsequently, the watermark corresponding to the first watermark sub-control can be displayed. The watermark corresponding to the first watermark sub-control can be a watermark that represents the user's identity and is preset by the user.
[0262] In response to a trigger action on the second watermark sub-control, a watermark can be left unadded to the file. In response to a trigger action on the third watermark sub-control, a watermark editing area can be displayed. In response to an editing operation on the watermark editing area, a watermark corresponding to the editing operation can be added at any location in the file. When the file content is subsequently displayed, the watermark corresponding to the editing operation can be shown.
[0263] The output method control can include output method sub-controls corresponding to various output methods. Different output method sub-controls can correspond to different file types, meaning that each output method sub-control has a unique corresponding file type.
[0264] In some embodiments, the output mode sub-control can also be used for page-by-page output, whereby each document page can be output as a file in response to a trigger operation on the page-by-page output control. In some embodiments, the output mode sub-control can also be used for merged output, whereby multiple document pages can be merged and output into a single file in response to a trigger operation on the merged output control. In this way, files that meet the user's needs can be output.
[0265] In some embodiments, the document association interface may also display a download control corresponding to each first document page. In response to a trigger operation on the download control, a file can be generated based on the corresponding first document page. For example, see... Figure 17 In response to a trigger action on the download control 1701, a file with answers added on page 2 can be generated. This allows users to generate files according to their actual needs, thus improving the flexibility of file production.
[0266] The option to add a QR code control allows you to add QR codes to documents. These QR codes can be for user accounts, data collection tasks, or the source of the target data. The specific settings can be configured according to actual needs, and will not be elaborated here. The QR code can be displayed on subsequent pages showing the file content. The resolution control sets the resolution of the generated file. Responding to a resolution setting command triggered by the resolution control, a file with the specified resolution can be generated. This allows for the generation of different files based on actual needs, further improving the user experience.
[0267] The data processing method provided in this application can first associate a document with target data, and then associate the graphic elements in the document with the answers, thereby generating a file that uses the target graphic elements to carry the answers. This application provides a method that allows answers to be added to the corresponding positions of graphic elements in a file without the user having to manually input the answers into the document. It can quickly fill the file with answers obtained from data statistics on the questions. Compared with related technologies, this application can shorten the time to generate a file containing answers, improve the efficiency of generating a file containing answers, and improve the accuracy of the generated file containing answers, thus solving the above-mentioned technical problem 1.
[0268] Furthermore, in this application, the target graphic elements in the document can be included in the document template or drawn by the current user according to actual usage needs. Thus, the target graphic elements can display related answers, which means that answers can be displayed in a variety of forms, allowing users to freely customize the form of the displayed answers. This can improve the form of displaying the answers to the questions and increase the flexibility of displaying the answers to the questions, thereby improving the user experience and solving the aforementioned technical problem 2.
[0269] In some embodiments, for each question, the corresponding answer can be generated as a result. The result can be any one of the following: pie chart, bar chart, donut chart, column chart, table, or word cloud, determined by the statistical number of answers. The result can then be associated with a first document page or with a target graphic element to generate a corresponding file. When displaying the content page of the file, the result corresponding to the question can be displayed. In this way, the diversity of the content page of the file can be further improved, so that users can intuitively understand the result corresponding to the question.
[0270] For example, see Figure 26 , Figure 26 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 10 Fifth, a pie chart of question 2603 can be displayed in the document association interface 2601. Question 2603 is "What is the most popular item?". Figure 26 In the pie chart, the quantity of items 2604, 2605, and 2606 is determined, where the quantity of item 2604 is 1, the quantity of item 2605 is 2, and the quantity of item 2606 is 2.
[0271] The document association interface 2601 also displays a fifth selection control 2602 corresponding to the pie chart. In response to a trigger operation on the fifth selection control 2602, multiple candidate first document pages can be displayed. In response to a trigger operation on the fifth page of the selected document, a relationship can be established between the fifth page and the pie chart of question 2603 (i.e., the result corresponding to the question), thereby generating the corresponding file. When displaying the content page of the file, the result corresponding to the question can be displayed (i.e., the pie chart of question 2603 can be displayed). In this way, the diversity of the content page of the file can be further improved, so that users can intuitively understand the result corresponding to the question.
[0272] In some embodiments, multiple users can simultaneously execute the data processing method provided in this application through a document association interface. In some embodiments, the current user is the first object, and in response to the first object's trigger operation based on the first selection control, multiple documents to be selected are displayed. The multiple documents to be selected are documents that different objects have access to.
[0273] In response to a document selection operation triggered by the first object for multiple documents to be selected, if the document corresponding to the document selection operation was created by the second object and the first object does not have the permission to use the document, a permission request prompt message is displayed. The permission request prompt message is used to prompt the second object to send a permission request message.
[0274] In response to a confirmation instruction for a permission request prompt, a request message is sent, which can then be displayed on the terminal of the second object. In response to the second object rejecting the first object based on the request message, a request failure message can be displayed on the terminal of the first object.
[0275] In response to the second object authorizing the first object based on the request message, the document corresponding to the document selection operation is displayed. In some embodiments, in response to the second object authorizing the first object based on the request message, a request success message and the document corresponding to the document selection operation can also be displayed. In this way, when multiple objects are online to associate target data with documents, documents with different objects' usage permissions can be displayed, increasing the number of documents that can be selected, effectively providing users with more choices. For documents that the first object has permissions for, a permission request message can be sent to the object with usage permissions, and the corresponding document is only displayed after authorization, thereby ensuring document security.
[0276] For example, see Figure 27 , Figure 27 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 10Sixth, display the document association interface 2701, and display the first selection control 2702 in the document association interface 2701. The first selection control 2702 is used to select the document associated with the target data. Figure 27 The system also displays a prompt message for the first selection control 2702, which reads "Search for the document to be associated".
[0277] In response to a trigger operation on the first selection control 2702, four documents to be selected can be displayed: document 2703, document 2704, document 2705, and document 2706. To further facilitate users in identifying the objects with document usage permissions, the objects with document usage permissions can be displayed in the associated area of the documents to be selected.
[0278] exist Figure 27 In the middle, the first object with the permission to use document 2703 can be displayed, the second object 2707 with the permission to use document 2704 can be displayed, the second object 2708 with the permission to use document 2705 can be displayed, and the second object 2709 with the permission to use document 2706 can be displayed.
[0279] In response to a selection operation on document 2703, document 2703 can be displayed because the first object has usage permissions for document 2703. In response to a selection operation on document 2704, document 2704 corresponding to the document selection operation is created by the second object 2707, and the first object does not have usage permissions for document 2707. See [link to relevant documentation]. Figure 28 , Figure 28 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 10 7. A pop-up window 2801 can be displayed in the document association interface 2701. The pop-up window 2801 displays a permission request prompt message, which reads "Send a permission request message to the second object 2707?"
[0280] In response to a confirmation command triggered by a permission request prompt, a permission request message can be generated using a pre-set permission request template and sent to the terminal of the second object 2707. In response to a cancellation command triggered by a permission request prompt, the pop-up window 2801 can be canceled.
[0281] In some embodiments, the permission request prompt information may display an editing entry with a request message. In response to a triggering operation on the editing entry, an editing area for the request message and at least one request message template may be displayed. In some embodiments, in response to an editing instruction on the editing area of the request message, a request message corresponding to the editing instruction may be displayed in the editing area of the request message. In response to a confirmation instruction on the request message corresponding to the editing instruction, a permission request message may be sent to the terminal of the second object 2707.
[0282] In some embodiments, in response to a selection instruction for any request message template, a usage permission request message can be generated based on the selected request message template and sent to the terminal of the second object 2707. Then, in response to the second object 2707 authorizing the first object based on the request message, the document corresponding to the document selection operation is displayed.
[0283] When multiple objects are associated with target data and documents online, documents with different access permissions can be displayed, increasing the number of documents that can be selected and providing users with more choices. For documents with permissions for the first object, a permission request message can be sent to the object with access permissions, and the corresponding document will only be displayed after authorization, thus ensuring document security.
[0284] In some embodiments, the selected document may include multiple document pages, and different document pages can be edited by different objects. That is, different document pages have different usage permissions for different objects. The document page that the current object has editing permissions for is designated as the second document page, and the second document page is only used to distinguish it from the first document page.
[0285] After selecting the document, the second document page that the current object has editing permissions can be highlighted in the document association interface. Correspondingly, in response to the current object's association operation on the target graphic element in the second document page, the association relationship between the target graphic element and the answer is established.
[0286] In some embodiments, only the second document page that the current object has editing permissions for can be displayed. In this way, it is convenient for the current object to accidentally touch the second document page that it does not have editing permissions when establishing an association relationship.
[0287] In some embodiments, when displaying a second document page where the current object has editing permissions and a third document page where the current object does not have editing permissions, the second document page can be displayed with a color different from the third document page, the content of the second document page can be displayed in bold, the document page can be marked as editable, or the second document page can be enlarged.
[0288] For example, see Figure 29 , Figure 29 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 10 8. In the document association interface 2903, the second document page 2901, which the current object has editing permissions for, and the third document page 2902, which the current object does not have editing permissions for, can be displayed. The area of the second document page 2901 is larger than that of the third document page 2902, i.e., the second document page 2901 is enlarged and displayed in bold. This method allows the current object to easily prevent accidental access to the second document page, which it does not have editing permissions for, when an association has been established.
[0289] In some embodiments, following the first method described above, when selecting an associated document page for a question, the candidate document pages can be those that the current object has editing permissions for. The document association interface can display editing areas corresponding to multiple questions. After associating a question with a document page, if the associated document page is a second document page that the current object has editing permissions for, the corresponding editing area can be highlighted. This method facilitates the current object from accidentally accessing a second document page for which it does not have editing permissions when establishing an association.
[0290] In some embodiments, following the third method described above, different document pages can be displayed, and the target graphic element or the element identifier corresponding to the target graphic element can be displayed on each document page. For the document page for which editing permissions are currently granted, the document page can be highlighted, along with the corresponding target graphic element or the element identifier corresponding to the target graphic element. This approach facilitates the current object from accidentally accessing a second document page without editing permissions when establishing an association.
[0291] In some embodiments, after generating the file corresponding to the selected document, in response to an open operation on the file, the file's content page is displayed. The content page displays a title consistent with the meaning of the question, and the answer to the question is displayed in the target graphical element of the file. Here, "consistent meaning between the question and the title" means that the content indicated by the question and the title is identical, differing only in at least one of the sentence type, text type, or text quantity.
[0292] In some embodiments, the answer to the question is displayed in the target graphical element of the file, along with detailed information about the answer, including one or more of the following: the number of answers, the number of people who answered the question, and the historical answers to the question.
[0293] For example, see Figure 30 , Figure 30This is a schematic diagram of the content page provided in the embodiments of this application. Figure 1 , Figure 30 correspond Figure 21 This can display the content page 3001 of the file, which shows content related to... Figure 21 The question "Favorite activity" in the title 3002 has the same meaning as the question "Favorite activity". Title 3002 is "Favorite activity".
[0294] Content page 3001 also displays the first answer 3003 and first answer 3004 of the question, shown in the target graphic element 1902 of the file. Content page 3001 also displays the first answer 3005 of the question, shown in the target graphic element 1906 of the file. For first answer 3003, a statistical count of 3006 can be displayed. Content page 3001 also displays the number of respondents who answered the question, specifically "30 respondents in total". This method allows for the display of various information in the generated file, making it easier for users to obtain the relevant information, improving the diversity and richness of the content page, and thus enhancing the user experience.
[0295] The target graphic elements in the file can be included in the document template or drawn by the current user according to actual usage needs. In this way, the target graphic elements can display related answers, which means that the answers can be displayed in a variety of forms. This allows users to freely customize the form of the displayed answers, improves the form of displaying the answers to the questions, increases the flexibility of displaying the answers to the questions, and thus improves the user experience, thereby solving the above-mentioned technical problem 2.
[0296] In this application, the associated area is the display area of the corresponding control or content or the display area at a preset distance from the corresponding control or content. The specific area can be set according to actual usage requirements. In this application, any operation or command can be implemented by voice, click, body movement, etc., without specific limitations.
[0297] For easier understanding of the data processing method provided in the embodiments of this application, please refer to... Figure 31 , Figure 31 This is a flowchart illustrating the data processing method provided in the embodiments of this application. Figure 4 The following is combined with Figure 31 The steps shown illustrate the data processing method provided in the embodiments of this application.
[0298] In step 3101, for the document, graphical elements are set to display the answers.
[0299] There are two setting methods for step 3101, see details below. Figure 8as well as Figure 9 The content shown will not be repeated here. Regarding step 3101, a document can be created first. Users can set the graphic elements used to display the answers on the document's settings page according to their actual needs. This is equivalent to users creating according to their own ideas, leaving blank spaces in the data filling positions, which will be the positions corresponding to the graphic elements used to display the answers.
[0300] For example, see Figure 32 , Figure 32 This is a schematic diagram of the settings page provided in the embodiments of this application. Figure 1 In response to a trigger action on a document named "Cute Style Back-to-School Parents' Meeting", the document's settings page 3202 can be displayed, where the document's name "Cute Style Back-to-School Parents' Meeting" can be shown.
[0301] The document can include three first document pages. Settings page 3202 can display the pages and thumbnails of these three first document pages. In response to a trigger action on page 2, page 2 can be highlighted. Figure 32 In the middle, you can bold the second page and display the second page in the display area 3201 of the settings page 3202.
[0302] In response to the setting command for the graphic element on page 2, the element settings page for the graphic element can be displayed. On the element settings page, the element identifier corresponding to the graphic element can be set to "$3", and then "$3" can be displayed in the corresponding graphic element.
[0303] For example, see Figure 33 , Figure 33 This is a schematic diagram of the settings page provided in the embodiments of this application. Figure 2 In response to a trigger action on page 3, page 3 can be highlighted. Figure 33 In the middle, you can bold the page 3 and display page 3 in settings page 3301.
[0304] In response to the setting command for the graphic element on page 3, the element settings page for the graphic element can be displayed. On this page, the element identifier corresponding to the graphic element can be set to "$4", thus displaying "$4" within the corresponding graphic element. Combined with... Figure 32 and Figure 33 As can be seen, users can add element identifiers to graphic elements in the document according to their actual needs. Element identifiers can also be called markers. Graphic elements with added element identifiers are graphic elements used to display answers. This means that users can set the graphic elements for displaying answers according to their actual needs, which means they can freely customize the way answers are displayed and improve the richness of the displayed answers.
[0305] See Figure 32 , Figure 32 This includes an add page control 3204 and an import control 3203. Responding to a page add command triggered by the page control 3204, the first document page can be added to the document. Figure 32 Not shown in the image. In response to a trigger operation on the import control 3203, other document pages can be imported as the first document page of the document. Figure 32 (Not shown in the image). This allows users to set the number of pages in the document according to their actual needs, thereby improving the user experience.
[0306] See also Figure 31 In step 3102, a data acquisition task is created. For the data acquisition task, a first selection control is displayed in the document association interface. In response to the document selection operation triggered by the first selection control, the selected document is displayed. In response to the association operation of the target graphic element in the selected document, the association relationship between the target graphic element and the answer is established. In response to the instruction to determine the association relationship, the file corresponding to the selected document is generated.
[0307] In some embodiments, a data acquisition task can be created. For details on data acquisition tasks, please refer to [the documentation / reference needed]. Figure 4 The explanation will not be repeated here. In some embodiments, the questions in the data acquisition task can be one or more of the following: open-ended questions, single-choice questions, multiple-choice questions, time-based questions, image-based questions, file-based questions, drop-down list questions, geolocation-based questions, and signature-based questions. For example, in... Figure 4 In the question, the first question is an open-ended question, and the second question is an image-based question. The specific settings can be configured according to actual usage needs, and no specific limitations are made here.
[0308] The generated document can be a document, image, or video. The document can be a PowerPoint presentation, a PDF document, or a Word document, depending on the specific usage requirements.
[0309] The following is an example illustrating step 3201; see [link / reference]. Figure 34 , Figure 34 This is a schematic diagram of the document association interface provided in the embodiments of this application. Figure 10 9. First step (corresponding to ①): Switch to the Related Documents menu (corresponding to...) Figure 34 (①) The first step is equivalent to displaying the document association interface and showing the first selection control in the document association interface.
[0310] The second step (corresponding to ②) involves searching for the specified document. This second step is equivalent to responding to the document selection operation triggered by the first selection control and displaying the selected document, which is the document named "Cute Style Back-to-School Parent Meeting".
[0311] The third step (corresponding to ③) is to associate the first document page with the specified question. This third step is equivalent to establishing the association between the selected first document page and the question based on the question and in response to the selection operation of the first document page in the selected document.
[0312] Step four (corresponding to ④) involves selecting a location identifier on the first document page to bind the specified answer. Step four essentially creates an association between the answer and the target graphic element while displaying the answer to the question, displays the answer in the document association interface, and associates it with the location identifier of the target graphic element.
[0313] Step 5 (corresponding to ⑤): Click to generate the file corresponding to the document. Step 5 is equivalent to responding to the instruction to determine the association between the target graphic element and the answer, generating the file corresponding to the selected document, in which the target graphic element carries the answer.
[0314] See also Figure 31 In step 3103, in response to the file open operation, the file content page is displayed, a title consistent with the meaning of the question is displayed on the content page, and the answer to the question is displayed in the target graphic element of the file.
[0315] The following example illustrates step 3103. (See attached image) Figure 35 , Figure 35 This is a schematic diagram of the content page provided in the embodiments of this application. Figure 2 In response to an open operation on a file, the file's content page 3501 can be displayed, and a title 3502 consistent with the meaning of the question can be displayed on the content page 3501. The title 3502 is "Popularity Ranking".
[0316] Furthermore, target graphic elements 3503 (corresponding to $1), 3504 (corresponding to $2), and 3505 (corresponding to $3) can be displayed on content page 3501. "Zhang San" can be displayed in target graphic element 3503, "Li Si" can be displayed in target graphic element 3504, and "Wang Wu" can be displayed in target graphic element 3505.
[0317] See Figure 36 , Figure 36 This is a schematic diagram of the content interface provided in the embodiments of this application. Figure 3In response to an open operation on a file, the file's content page 3601 can be displayed. Within content page 3601, a title 3602 consistent with the meaning of the question can be displayed; title 3602 is "Favorite Moments." Furthermore, the answer, consisting of 5 images, can be displayed on content page 3501. Figure 36 Only image 3603 is tagged.
[0318] See Figure 37 , Figure 37 This is a flowchart illustrating the data processing method provided in the embodiments of this application. Figure 5 In step 3701, the document is acquired. In step 3702, the target data is acquired. In step 3703, the association between the document and the target data is established.
[0319] Regarding step 3702, the target data can be pre-stored, or it can be obtained through steps 3704 and 3705. In step 3704, a data acquisition task is created. In step 3705, the answers to the questions are obtained. The data acquisition task includes one or more questions.
[0320] In step 3708, a relationship is established. Specifically, a relationship is established between the graphic element 3706 in the document and the answer 3707. In some embodiments, the answer may include pre-acquired target data and the answer corresponding to the data acquisition task. In step 3709, the answer is filled into the graphic element. A file can then be generated, which can be an image 3710 (i.e., a graphic) or a document 3711. The specific settings can be configured according to actual usage requirements.
[0321] In some embodiments, when a user marks a document in the "Associated Coordinates" menu (corresponding to the document association interface), the terminal or server will determine whether the document has an identifier for the target data. If not, the identifier for the target data will be added to the document, which is equivalent to establishing an association between the document and the target data.
[0322] In some embodiments, to facilitate the selection of documents without associated target data, these documents can be stored separately. This allows for faster selection of documents that can be associated with the target data. The target data identifier can be stored in an extended field (ooxml), supporting import and export. The target data identifier can be set according to actual usage requirements and can also be used as an identifier for data acquisition tasks.
[0323] The following explains the target graphic elements in the document. When creating a target graphic element for the document, it determines whether the target graphic element supports tagging. If it supports tagging and has not yet been tagged, an element identifier can be added to the target graphic element, which is equivalent to successful tagging. If the target graphic element does not support tagging, a message indicating that an element identifier cannot be added will be displayed. If the target graphic element supports tagging, but a corresponding element identifier already exists, the element identifier corresponding to the target graphic element can be deleted according to actual usage needs, or all identifiers for the target graphic elements in the document can be deleted with one click.
[0324] In some embodiments, users can delete documents according to their actual needs. If a document has associated data acquisition tasks (i.e., target data), a deletion prompt message is displayed. This message indicates whether the user wants to continue deleting the document. In response to a confirmation instruction on the deletion prompt message, the user can delete the document and remove the association between the document and the target data. In response to a cancellation instruction on the deletion prompt message, the user can choose not to delete the document and retain the association between the document and the target data.
[0325] When a user edits the associated document before, the system compares the version number of the last edited document with the version number of the latest document to see if they are the same. If not, the system prompts the user that an updated version exists. If the user selects "yes," the document updates to the latest version (the target data can also be updated via an update control).
[0326] If an associated element identifier is deleted, the association between the answer and the target graphic element is reset. If the associated document has been deleted, the association between the document and the answer and all target graphic elements within the document is deleted. If they are the same version, no notification is given, and the document association interface is displayed.
[0327] For example, see Figure 38 , Figure 38 This is a flowchart illustrating the data processing method provided in the embodiments of this application. Figure 6 For file 3801, in response to the selection command for file 3801, step 3803 can be executed to compare whether the versions are consistent. That is, the version number of file 3801 can be compared with the version number of the last opened file 3801. If they are consistent, the document association interface 3804 can be displayed, thereby enabling editing of file 3801.
[0328] In the event of inconsistency, step 3805 can be executed. Step 3805 determines whether to update the target data. If yes, then step 3807 is executed, i.e., the target data is updated; otherwise, step 3806 is executed, i.e., the target data is not updated. In some embodiments, step 3802 can be executed in real time or periodically. Step 3802 is to detect updates. Detecting updates may include detecting whether the target data has been updated, and may also include detecting whether the file version number has been updated.
[0329] If the target data is not updated, the file does not need to be adjusted. If the target data is updated, step 3808 can be executed to determine whether the document corresponding to file 3801 has been deleted. If it has been deleted, step 3809 can be executed to delete the association, that is, to delete the association between the document and the target data, and to delete the association between the answer and the target graphic element.
[0330] Without deleting the file, the document association interface 3810 can be displayed, thereby adjusting the association relationship for the updated target data, specifically adjusting the association relationship between the answer and the target graphic element.
[0331] After the user clicks "Generate Document," the system reads the target data from the data collection task, the document data corresponding to the currently selected document version, and the association between the document and the data collection task. A file is generated based on the corresponding document version. Based on the association between the document and the data collection task, and the answers in the data collection task, the answers are filled into the corresponding positions in the file according to the association, and the file is generated. This embodiment of the application has the following technical effects: it simplifies the difficulty of generating files for data collection tasks, improves the flexibility of file generation and the variety of file export types, and increases user stickiness to the collection form.
[0332] The data processing method provided in this application can first associate a document with target data, and then associate the graphic elements in the document with the answers, thereby generating a file that uses the target graphic elements to carry the answers. This application provides a method that allows answers to be added to the corresponding positions of graphic elements in a file without the user having to manually input the answers into the document. It can quickly fill the file with answers obtained from data statistics on the questions. Compared with related technologies, this application can shorten the time to generate a file containing answers, improve the efficiency of generating a file containing answers, and improve the accuracy of the generated file containing answers, thus solving the above-mentioned technical problem 1.
[0333] Furthermore, in this application, the target graphic elements in the document can be included in the document template or drawn by the current user according to actual usage needs. Thus, the target graphic elements can display related answers, which means that answers can be displayed in a variety of forms, allowing users to freely customize the form of the displayed answers. This can improve the form of displaying the answers to the questions and increase the flexibility of displaying the answers to the questions, thereby improving the user experience and solving the aforementioned technical problem 2.
[0334] The following description continues to illustrate the exemplary structure of the data processing apparatus 455 provided in the embodiments of this application as a software module. In some embodiments, such as Figure 2 As shown, the software modules stored in the data processing device 455 of the memory 450 may include:
[0335] Display module 4551 is used to display a first selection control in the document association interface, wherein the first selection control is used to select a document associated with the target data;
[0336] The target data includes: the answer obtained by statistical analysis of the question; the document includes at least one graphic element for displaying the answer;
[0337] The response module 4552 is used to display the selected document in response to a document selection operation triggered by the first selection control;
[0338] The response module 4552 is also configured to respond to an association operation on a target graphic element in a selected document and establish an association between the target graphic element and the answer.
[0339] The response module 4552 is further configured to generate a file corresponding to the selected document in response to a determination instruction for the association relationship, wherein the target graphic element in the file carries the answer.
[0340] In some embodiments, the selected document includes at least one first document page, the question includes a first question, and the first question corresponds to a first answer; the display module 4551 is also configured to display the first question in the document association interface;
[0341] The response module 4552 is further configured to, based on the first question and in response to a selection operation on a first document page in a selected document, automatically establish an association between a target graphic element in the selected first document page and the first answer, display the first answer, and display the target graphic element in association with the first answer.
[0342] In some embodiments, the number of the first answers is a first quantity; the response module 4552 is further configured to, in response to a selection operation on a first document page in a selected document, display a first answer group obtained by grouping multiple first answers, wherein the number of the first answer group is the second quantity, when the number of the target graphic elements is a second quantity and the second quantity is less than the first quantity; and in response to a confirmation instruction triggered on the displayed first answer group, automatically establish an association between the target graphic elements in the selected first document page and the first answer group, display the first answer in the first answer group, and display the target graphic elements in association with the first answer group.
[0343] In some embodiments, the number of the first answers is a third number; the response module 4552 is further configured to, in response to a selection operation on a first document page in a selected document, display the target graphic elements in the selected first document page, wherein the target graphic elements are in a candidate state, when the number of the target graphic elements is a fourth number and the fourth number is greater than the third number; and in response to a selection instruction on a target graphic element in a candidate state, automatically establish an association between the selected target graphic element and the first answer, display the first answer, and display the selected target graphic element in association with the first answer.
[0344] In some embodiments, the display module 4551 is further configured to display the first answer, and after displaying the target graphic element associated with the first answer, display an association adjustment control, the association adjustment control being used to adjust the automatically created association between the target graphic element and the first answer;
[0345] The response module 4552 is further configured to respond to an adjustment instruction triggered by the relationship adjustment control, update the relationship to the relationship between the first answer and the target graphic element indicated by the adjustment instruction, display the first answer, and display the target graphic element indicated by the adjustment instruction in association with the first answer.
[0346] In some embodiments, the question includes a second question, the second question corresponds to a second answer, and the number of the second answers includes at least one; the display module 4551 is further configured to display the second answer in the associated area of the second question, and a second selection control corresponding to each second answer, the second selection control being configured to select a target graphic element associated with the corresponding second answer;
[0347] The response module 4552 is further configured to, for each of the second answers, in response to an element selection operation triggered by the second selection control, display the selected target graphic element and establish an association between the selected target graphic element and the second answer.
[0348] In some embodiments, the display module 4551 is further configured to display the second answer in the associated area of the second question when the number of the second answer is less than the target number; and to display the target number of second answers in the associated area of the second question in descending order of the statistical number of the second answers when the number of the second answer is greater than or equal to the target number.
[0349] In some embodiments, the display module 4551 is further configured to display an update control in the document association interface using a first style, wherein the update control is configured to update the displayed second answer when the target data is updated;
[0350] The response module 4552 is further configured to, in response to an update in the target data, switch the display style of the update control from the first style to the second style, the second style being used to indicate that the target data has been updated.
[0351] In some embodiments, the response module 4552 is further configured to display the selected target graphic element, and after establishing the association between the selected target graphic element and the second answer, in response to the target data update, automatically update the association between the target graphic element and the second answer, and display the association update information; wherein the association update information includes the second answer before the update associated with the target graphic element, and the second answer after the update associated with the target graphic element.
[0352] In some embodiments, the display module 4551 is further configured to display target graphic elements in the selected document in the document association interface; and display a third selection control corresponding to each target graphic element, wherein the third selection control is configured to select the answer associated with the corresponding target graphic element;
[0353] The response module 4552 is further configured to, in response to a trigger operation on the third selection control, display at least one selectable answer; and, in response to a selection operation on the displayed answer, establish an association between the corresponding target graphic element and the selected answer.
[0354] In some embodiments, the number of selectable answers is multiple; the response module 4552 is further configured to, in response to a trigger operation on the third selection control, display multiple selectable answers and display the statistical count of each answer; based on the statistical count, in response to a selection operation on the displayed answer, establish an association between the corresponding target graphic element and the selected answer.
[0355] In some embodiments, the display module 4551 is further configured to display a first settings page of the selected document before displaying the first selection control in the document association interface, the first settings page being configured to set the graphic elements in the selected document;
[0356] The response module 4552 is further configured to, based on the first settings page and in response to the graphics drawing operation, determine the drawn graphics as a graphic element for displaying the answer.
[0357] In some embodiments, the display module 4551 is further configured to display a second settings page of the selected document in the document association interface before displaying the first selection control, wherein the second settings page displays at least one candidate graphic element;
[0358] The response module 4552 is further configured to, in response to a selection operation performed on the candidate graphic element, set the selected candidate graphic element as a graphic element for displaying the answer.
[0359] In some embodiments, the response module 4552 is further configured to, in response to a selection operation performed on the candidate graphic element, display a setting control corresponding to the selected candidate graphic element, the setting control being configured to set the selected candidate graphic element as the graphic element; and based on the setting control, in response to an identifier setting operation on the selected candidate graphic element, create an element identifier for the selected candidate graphic element, the element identifier being configured to identify the selected candidate graphic element as a graphic element for displaying the answer.
[0360] In some embodiments, the response module 4552 is further configured to respond to a selection operation performed on the candidate graphic element, and if the candidate graphic element has the set element identifier, display a first prompt message; wherein the first prompt message is used to prompt whether to cancel setting the candidate graphic element as the graphic element.
[0361] In some embodiments, the response module 4552 is further configured to, in response to an open operation on the file, display the content page of the file; display a title consistent with the meaning of the question on the content page, and display the answer to the question in the target graphic element of the file.
[0362] In some embodiments, the response module 4552 is further configured to display the answer to the question in the target graphic element of the file, and display detailed information of the answer; the detailed information includes one or more of the following: the statistical number of answers, the number of objects that answered the question, and the historical answers to the question.
[0363] In some embodiments, the response module 4552 is further configured to: display multiple documents to be selected in response to a triggering operation by a first object based on the first selection control; in response to a document selection operation triggered by the first object for the multiple documents to be selected, if the document corresponding to the document selection operation was created by a second object and the first object does not have usage permission for the document, display a permission request prompt message, the permission request prompt message being used to prompt the second object to send a usage permission request message; send the request message in response to a confirmation instruction for the permission request prompt message; and display the document corresponding to the document selection operation in response to the second object authorizing the first object based on the request message.
[0364] In some embodiments, the response module 4552 is further configured to, after displaying the selected document, highlight the second document page that the current object has editing permissions on in the document association interface; and, in response to the current object's association operation on the target graphic element in the second document page, establish an association relationship between the target graphic element and the answer.
[0365] This application provides a computer program product, which includes a computer program or computer-executable instructions stored in a computer-readable storage medium. The processor of an electronic device reads the computer-executable instructions from the computer-readable storage medium and executes the computer-executable instructions, causing the electronic device to perform the data processing method described in this application.
[0366] This application provides a computer-readable storage medium storing computer-executable instructions or a computer program. When the computer-executable instructions or the computer program are executed by a processor, the processor will execute the data processing method provided in this application. For example, ... Figure 3 The data processing method is shown.
[0367] In some embodiments, the computer-readable storage medium may be a memory such as RAM, ROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or it may be a variety of devices including one or any combination of the above-mentioned memories.
[0368] In some embodiments, computer-executable instructions may take the form of programs, software, software modules, scripts, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.
[0369] As an example, computer-executable instructions may, but do not necessarily, correspond to files in a file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a Hyper Text Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple co-located files (e.g., files that store one or more modules, subroutines, or code sections).
[0370] As an example, computer-executable instructions can be deployed to execute on a single electronic device, or on multiple electronic devices located at one location, or on multiple electronic devices distributed across multiple locations and interconnected via a communication network.
[0371] In summary, the data processing method provided in this application can first associate a document with target data, and then associate the graphic elements in the document with the answers, thereby generating a file that uses the target graphic elements to carry the answers. This application provides a method that allows answers to be added to the corresponding positions of graphic elements in a file without the user having to manually input the answers into the document. It can quickly fill the file with answers obtained from data statistics on the questions. Compared with related technologies, this application can shorten the time to generate a file containing answers, improve the efficiency of generating a file containing answers, and improve the accuracy of the generated file containing answers, thus solving the above-mentioned technical problem 1.
[0372] Furthermore, in this application, the target graphic elements in the document can be included in the document template or drawn by the current user according to actual usage needs. Thus, the target graphic elements can display related answers, which means that answers can be displayed in a variety of forms, allowing users to freely customize the form of the displayed answers. This can improve the form of displaying the answers to the questions and increase the flexibility of displaying the answers to the questions, thereby improving the user experience and solving the aforementioned technical problem 2.
[0373] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.
Claims
1. A data processing method, characterized in that, The method includes: In the document association interface, a first selection control is displayed. The first selection control is used to select the document associated with the target data. The target data includes: the answer obtained by statistical analysis of the question; the document includes at least one graphic element for displaying the answer; In response to a document selection operation triggered by the first selection control, the selected document is displayed; In response to an association operation on a target graphic element in a selected document, an association relationship is established between the target graphic element and the answer; In response to the instruction to determine the association, a file corresponding to the selected document is generated, wherein the target graphic element in the file carries the answer.
2. The method according to claim 1, characterized in that, The selected document includes at least one first document page, and the question includes a first question, which corresponds to a first answer. The method further includes: The first question is displayed in the document association interface; The step of establishing an association between the target graphic element and the answer in response to an association operation on a target graphic element in a selected document includes: Based on the first question, in response to a selection operation on a first document page in a selected document, an association relationship is automatically established between the target graphic element in the selected first document page and the first answer, the first answer is displayed, and the target graphic element is displayed in association with the first answer.
3. The method according to claim 2, characterized in that, The number of the first answer is the first quantity; In response to a selection operation on a first document page within a selected document, the automatic establishment of an association between a target graphic element on the selected first document page and the first answer, displaying the first answer, and displaying the target graphic element in association with the first answer, includes: When the number of the target graphic elements is a second number and the second number is less than the first number, in response to a selection operation on a first document page in the selected document, a first answer group obtained by grouping multiple first answers is displayed, and the number of the first answer groups is the second number; In response to a confirmation command triggered for the first answer group, the association between the target graphic element in the selected first document page and the first answer group is automatically established, the first answer in the first answer group is displayed, and the target graphic element is displayed in association with the first answer group.
4. The method according to claim 2, characterized in that, The number of the first answer is the third number; In response to a selection operation on a first document page within a selected document, the automatic establishment of an association between a target graphic element on the selected first document page and the first answer, displaying the first answer, and displaying the target graphic element in association with the first answer, includes: When the number of target graphic elements is a fourth number and the fourth number is greater than the third number, in response to a selection operation on a first document page in a selected document, the target graphic elements in the selected first document page are displayed, and the target graphic elements are in a candidate state. In response to a selection instruction for a target graphic element in a candidate state, the association between the selected target graphic element and the first answer is automatically established, the first answer is displayed, and the selected target graphic element is displayed in association with the first answer.
5. The method according to claim 2, characterized in that, After displaying the first answer and displaying the target graphic element in association with the first answer, the method further includes: Display relationship adjustment controls, which are used to adjust the relationship between the automatically created target graphic element and the first answer; In response to an adjustment command triggered by the relationship adjustment control, the relationship is updated to the relationship between the first answer and the target graphic element indicated by the adjustment command, the first answer is displayed, and the target graphic element indicated by the adjustment command is displayed in association with the first answer.
6. The method according to claim 1, characterized in that, The question includes a second question, the second question corresponds to a second answer, and the number of second answers includes at least one; The method further includes: The second question is displayed in the document association interface; In the associated area of the second question, the second answer is displayed, as well as a second selection control corresponding to each second answer. The second selection control is used to select the target graphic element associated with the corresponding second answer. The step of establishing an association between the target graphic element and the answer in response to an association operation on a target graphic element in a selected document includes: For each of the second answers, in response to the element selection operation triggered by the second selection control, the selected target graphic element is displayed, and the association between the selected target graphic element and the second answer is established.
7. The method according to claim 6, characterized in that, Displaying the second answer in the associated area of the second question includes: If the number of second answers is less than the target number, display the second answers in the associated area of the second question; If the number of second answers is greater than or equal to the target number, the target number of second answers will be displayed in the associated area of the second question, in descending order of the statistical number of the second answers.
8. The method according to claim 6, characterized in that, The method further includes: In the document association interface, an update control is displayed using a first style. The update control is used to update the displayed second answer when the target data is updated. In response to an update to the target data, the display style of the update control is switched from the first style to the second style, which is used to indicate that the target data has been updated.
9. The method according to claim 6, characterized in that, After displaying the selected target graphic element and establishing the association between the selected target graphic element and the second answer, the method further includes: In response to the update of the target data, the association between the target graphic element and the second answer is automatically updated, and the association update information is displayed; The association update information includes the second answer before the update of the association of the target graphic element, and the second answer after the update of the association of the target graphic element.
10. The method according to claim 1, characterized in that, The method further includes: The target graphic element in the selected document is displayed in the document association interface; Display a third selection control corresponding to each of the target graphic elements, the third selection control being used to select the answer associated with the corresponding target graphic element; The step of establishing an association between the target graphic element and the answer in response to an association operation on a target graphic element in a selected document includes: In response to a trigger action on the third selection control, at least one optional answer is displayed; In response to a selection action on the displayed answer, establish a relationship between the corresponding target graphic element and the selected answer.
11. The method according to claim 10, characterized in that, The number of selectable answers is multiple; the step of displaying at least one selectable answer in response to a triggering operation on the third selection control includes: In response to a triggering operation on the third selection control, multiple selectable answers are displayed, and the statistical count of each answer is shown. The step of establishing an association between the corresponding target graphic element and the selected answer in response to a selection operation on the displayed answer includes: Based on the statistical data, in response to the selection operation for the displayed answer, an association relationship is established between the corresponding target graphic element and the selected answer.
12. The method according to claim 1, characterized in that, Before displaying the first selection control in the document association interface, the method further includes: Displays a first settings page of the selected document, the first settings page being used to set the graphic elements in the selected document; Based on the first settings page, in response to the graphic drawing operation, the drawn graphic is determined as a graphic element used to display the answer.
13. The method according to claim 1, characterized in that, Before displaying the first selection control in the document association interface, the method further includes: The selected document's second settings page is displayed, and the second settings page displays at least one candidate graphic element; In response to the selection operation performed on the candidate graphic element, the selected candidate graphic element is set as a graphic element for displaying the answer.
14. The method according to claim 13, characterized in that, The step of responding to a selection operation performed on the candidate graphic element by setting the selected candidate graphic element as a graphic element for displaying the answer includes: In response to a selection operation performed on the candidate graphic element, a setting control corresponding to the selected candidate graphic element is displayed, the setting control being used to set the selected candidate graphic element as the graphic element; Based on the settings control, in response to the identifier setting operation for the selected candidate graphic element, an element identifier for the selected candidate graphic element is created. The element identifier is used to identify the selected candidate graphic element as a graphic element used to display the answer.
15. The method according to claim 14, characterized in that, The method further includes: In response to the selection operation performed on the candidate graphic element, if the candidate graphic element has the set element identifier, a first prompt message is displayed; The first prompt message is used to prompt whether to cancel setting the candidate graphic element as the graphic element.
16. The method according to claim 1, characterized in that, After generating the file corresponding to the selected document, the method further includes: In response to an open operation on the file, the content page of the file is displayed; The title that corresponds to the meaning of the question is displayed on the content page, and the answer to the question is displayed in the target graphic element of the document.
17. The method according to claim 16, characterized in that, Displaying the answer to the question in the target graphic element of the file includes: The answer to the question is displayed in the target graphic element of the file, along with detailed information about the answer. The detailed information includes one or more of the following: the statistical number of answers, the number of people who answered the question, and the historical answers to the question.
18. The method according to claim 1, characterized in that, The step of displaying the selected document in response to a document selection operation triggered by the first selection control includes: In response to a trigger operation by the first object based on the first selection control, multiple documents to be selected are displayed; In response to a document selection operation triggered by the first object for multiple documents to be selected, if the document corresponding to the document selection operation was created by the second object and the first object does not have the permission to use the document, a permission request prompt message is displayed. The permission request prompt message is used to prompt the second object to send a permission request message. In response to the confirmation instruction regarding the permission request prompt information, the request message is sent; In response to the second object authorizing the first object based on the request message, the document corresponding to the document selection operation is displayed.
19. The method according to claim 1, characterized in that, After displaying the selected document, the method further includes: In the document association interface, the second document page that the current object has editing permissions for is highlighted; The step of establishing an association between the target graphic element and the answer in response to an association operation on a target graphic element in a selected document includes: In response to the current object's association operation on the target graphic element in the second document page, an association relationship is established between the target graphic element and the answer.
20. A data processing apparatus, characterized in that, The device includes: The display module is used to display a first selection control in the document association interface, wherein the first selection control is used to select the document associated with the target data; The target data includes: the answer obtained by statistical analysis of the question; the document includes at least one graphic element for displaying the answer; The response module is used to respond to a document selection operation triggered by the first selection control and display the selected document; The response module is also configured to respond to an association operation on a target graphic element in a selected document and establish an association between the target graphic element and the answer. The response module is further configured to generate a file corresponding to the selected document in response to a determination instruction for the association relationship, wherein the target graphic element in the file carries the answer.
21. An electronic device, characterized in that, The electronic device includes: Memory is used to store executable instructions or computer programs. A processor, when executing computer-executable instructions or computer programs stored in the memory, implements the data processing method according to any one of claims 1 to 19.
22. A computer-readable storage medium storing computer-executable instructions or a computer program, characterized in that, When the computer-executable instructions or computer program are executed by a processor, they implement the data processing method according to any one of claims 1 to 19.
23. A computer program product comprising computer-executable instructions or a computer program, characterized in that, When the computer-executable instructions or computer program are executed by a processor, they implement the data processing method according to any one of claims 1 to 19.