CN110674258A - Document interaction method and device, storage medium and electronic equipment - Google Patents

Document interaction method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN110674258A
CN110674258A CN201910916484.7A CN201910916484A CN110674258A CN 110674258 A CN110674258 A CN 110674258A CN 201910916484 A CN201910916484 A CN 201910916484A CN 110674258 A CN110674258 A CN 110674258A
Authority
CN
China
Prior art keywords
target
content
interactive
document
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910916484.7A
Other languages
Chinese (zh)
Inventor
骆诗奇
宋新燕
李�瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910916484.7A priority Critical patent/CN110674258A/en
Publication of CN110674258A publication Critical patent/CN110674258A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a document interaction method, a document interaction device, a storage medium and electronic equipment, wherein the number of the documents is at least one, each document has a corresponding interaction object, and the method comprises the steps of obtaining identity attributes of each interaction object; determining target interaction objects with the same identity attribute; acquiring interactive contents in the document corresponding to each target interactive object; and obtaining a target value according to the content value corresponding to each interactive content, and taking the target value as the interactive result of the document. By the aid of the method and the device, in the process of carrying out statistical analysis on the documents by the electronic equipment, hierarchical statistical analysis can be carried out on the plurality of documents by combining the identity attributes corresponding to the interactive objects, the automatic statistical effect of the documents is effectively improved, and the reference value of the analysis results is improved.

Description

Document interaction method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of electronic device technologies, and in particular, to a document interaction method and apparatus, a storage medium, and an electronic device.
Background
The questionnaire survey refers to a process of formulating a document containing a plurality of interactive contents, issuing the document to an interactive object, answering the interactive contents by the interactive object, collecting the answered document, and then performing statistical analysis on the interactive contents in each document by using a certain statistical method through electronic equipment.
In the related art, in the process of statistical analysis of documents by using electronic equipment, analysis can be generally performed only on documents containing the same content, the process of statistical analysis is simple, hierarchical automatic statistical analysis cannot be performed by combining identity attributes corresponding to interactive objects, the analysis efficiency is low, the analysis effect is not good, and the reference value of the obtained analysis result is not high.
Disclosure of Invention
The present disclosure is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, the present disclosure aims to provide a document interaction method, device, storage medium, and electronic device, which can perform hierarchical statistical analysis on multiple documents by combining identity attributes corresponding to interaction objects in a process of performing statistical analysis on the documents by using the electronic device, so as to effectively improve an automatic statistical effect of the documents and improve a reference value of an analysis result.
In order to achieve the above object, an embodiment of a first aspect of the present disclosure provides a document interaction method, where a number of documents is at least one, and each document has a corresponding interaction object, the method includes: acquiring the identity attribute of each interactive object; determining target interaction objects with the same identity attribute; acquiring interactive contents in the document corresponding to each target interactive object; and obtaining a target value according to the content value corresponding to each interactive content, and taking the target value as the interactive result of the document.
According to the document interaction method provided by the embodiment of the first aspect of the disclosure, by acquiring the identity attribute of each interactive object and determining the target interactive objects with the same identity attribute, the interactive content in the document corresponding to each target interactive object is acquired, the target value is obtained according to the content value corresponding to each interactive content, and the target value is used as the interactive result of the document, in the process of performing statistical analysis on the document by using the electronic device, hierarchical statistical analysis can be performed on multiple documents by combining the identity attribute corresponding to the interactive object, the automatic statistical effect of the document is effectively improved, and the reference value of the analysis result is improved.
In order to achieve the above object, an embodiment of a second aspect of the present disclosure provides an interactive apparatus for documents, where a number of documents is at least one, and each document has a corresponding interactive object, the apparatus including: the first acquisition module is used for acquiring the identity attribute of each interactive object; the first determining module is used for determining the target interaction objects with the same identity attribute; the second acquisition module is used for acquiring interactive contents in the document corresponding to each target interactive object; and the second determining module is used for obtaining a target value according to the content value corresponding to each interactive content and taking the target value as the interactive result of the document.
According to the document interaction device provided by the embodiment of the second aspect of the disclosure, by acquiring the identity attribute of each interaction object and determining the target interaction objects with the same identity attribute, the interaction content in the document corresponding to each target interaction object is acquired, the target value is obtained according to the content value corresponding to each interaction content, and the target value is used as the interaction result of the document, in the process of performing statistical analysis on the document by using the electronic device, hierarchical statistical analysis can be performed on multiple documents by combining the identity attribute corresponding to the interaction object, the automatic statistical effect of the document is effectively improved, and the reference value of the analysis result is improved.
To achieve the above object, an embodiment of a third aspect of the present disclosure provides a computer-readable storage medium, where instructions of the storage medium, when executed by a processor of a terminal, enable the terminal to perform a document interaction method, the method including: the embodiment of the first aspect of the disclosure provides an interaction method for documents.
The computer-readable storage medium provided in the embodiment of the third aspect of the disclosure acquires the identity attributes of each interactive object, determines the target interactive objects having the same identity attributes, acquires the interactive content in the document corresponding to each target interactive object, obtains the target value according to the content value corresponding to each interactive content, and uses the target value as the interactive result of the document.
To achieve the above object, an embodiment of a fourth aspect of the present disclosure provides an electronic device, including: at least one processor, and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being configured to perform a method of interacting with a document as set forth in an embodiment of a first aspect of the present disclosure.
According to the electronic device provided by the embodiment of the fourth aspect of the disclosure, by acquiring the identity attribute of each interactive object and determining the target interactive objects with the same identity attribute, the interactive content in the document corresponding to each target interactive object is acquired, the target value is obtained according to the content value corresponding to each interactive content, and the target value is used as the interactive result of the document, in the process of performing statistical analysis on the document by using the electronic device, hierarchical statistical analysis can be performed on multiple documents by combining the identity attribute corresponding to the interactive object, the automatic statistical effect of the document is effectively improved, and the reference value of the analysis result is improved.
Additional aspects and advantages of the disclosure will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the disclosure.
Drawings
The foregoing and/or additional aspects and advantages of the present disclosure will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flowchart illustrating a document interaction method according to an embodiment of the disclosure;
FIG. 2 is a schematic diagram of identity attributes of an interaction object according to an embodiment of the present disclosure;
FIG. 3 is a flowchart illustrating a document interaction method according to another embodiment of the disclosure;
FIG. 4 is a schematic diagram illustrating target interactive content partitioning in an embodiment of the present disclosure;
FIG. 5 is a flowchart illustrating a document interaction method according to another embodiment of the disclosure;
FIG. 6 is a flowchart illustrating a document interaction method according to another embodiment of the disclosure;
FIG. 7 is a schematic structural diagram of an interaction device of a document according to an embodiment of the present disclosure;
FIG. 8 is a schematic structural diagram of an interaction device of a document according to another embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the embodiments of the present disclosure, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of illustrating the present disclosure and should not be construed as limiting the same. On the contrary, the embodiments of the disclosure include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
Fig. 1 is a flowchart illustrating an interaction method of a document according to an embodiment of the disclosure.
The disclosed embodiments are illustrated in the context of an interactive method of the document being configured as an interactive device of the document.
The interaction device of the document in the embodiment of the present disclosure may be disposed in a server, or may also be disposed in an electronic device, which is not limited in the embodiment of the present disclosure.
The document interaction method in the embodiment of the disclosure is applied to a process of acquiring a large amount of documents by using an electronic device and performing comprehensive statistics on the large amount of documents by executing a preset computer program, where the documents may be, for example, documents displayed to an interactive object on the electronic device, and the interactive object answers interactive contents in the documents in a filling or checking manner, or the documents may also be documents in a scanned version obtained by the electronic device scanning paper-version documents that are answered by the interactive object manually, which is not limited to this.
The electronic device is, for example, a Personal Computer (PC), a cloud device or a mobile device, and the mobile device is, for example, a smart phone or a tablet Computer.
It should be noted that the execution main body of the embodiment of the present disclosure may be, for example, a Central Processing Unit (CPU) in a server or an electronic device in terms of hardware, and may be, for example, a background management service in the server or the electronic device in terms of software, which is not limited to this.
The disclosed embodiments are exemplified with the interactive apparatus setting of a document in an electronic device.
S101: and acquiring the identity attribute of each interactive object.
The object person to be investigated in the process of issuing a document and executing a questionnaire survey can be called an interactive object.
The identity attribute is used to describe some personalized features of the interactive object, and the identity attribute may be, for example, a gender, an age, and the like of the interactive object, and thus, the identity attribute of each interactive object may be the same or different, which is not limited thereto.
In the embodiment of the present disclosure, a document may be issued to a corresponding interactive object in a manner of displaying the document on an electronic device, where the document may include, for example, interactive content for acquiring an identity attribute of the interactive object, and then, in a process of subsequently counting the document by using the electronic device, an identity attribute corresponding to each interactive object is determined from an answer corresponding to the interactive content for acquiring the identity attribute of the interactive object, or, before issuing the document, the interactive object may be guided to fill in the corresponding identity attribute, and the identity attribute corresponding to each interactive object is stored in a local database in advance, and when the document needs to be counted, the identity attribute of the interactive object of the questionnaire of this time is directly read from the local database, which is not limited.
Referring to fig. 2, fig. 2 is a schematic diagram of identity attributes of an interactive object according to an embodiment of the present disclosure, where the identity attributes corresponding to the interactive object may include: gender, age, company, department, performance, time of employment, scholarship, and other identity attributes, and the like, without limitation.
Therefore, when a plurality of interactive objects exist, the identity attributes corresponding to the interactive objects are different or the same.
In the specific execution process, in order to make the result of the statistical analysis more hierarchical, the identity attribute corresponding to each interactive object is predetermined, and the hierarchical statistical analysis is performed on the multiple documents by combining the identity attribute corresponding to each interactive object.
S102: and determining the target interactive objects with the same identity attribute.
Among the plurality of interactive objects, the interactive object having the same identity attribute may be referred to as a target interactive object.
In the embodiment of the present disclosure, if the identity attributes corresponding to the interactive objects include a plurality of identity attributes, the number of the identity attributes of the target interactive objects is the same, and the identity attributes of the same type are also the same.
For example, if the interactive object 1 is female, 25 years old, company 1, the interactive object 2 is female, 25 years old, company 1, the interactive object 3 is female, 25 years old, and company 1, the interactive object 2, and the interactive object 3 are determined as target interactive objects among the plurality of interactive objects, which is not limited in this respect.
S103: and acquiring interactive contents in the document corresponding to each target interactive object.
The interactive content in the document of the target interactive object may be referred to as interactive content.
For example, the interactive contents in the document corresponding to interactive object 1, interactive object 2, and interactive object 3 in the above example may be referred to as interactive contents.
After the target interactive objects with the same corresponding identity attributes are determined, the target interactive contents in the documents of the target interactive objects are obtained, then the follow-up statistical analysis of the target interactive contents is triggered, the statistical division of the interactive contents in the multiple documents based on the identity attributes corresponding to the interactive objects is realized, and the targeted statistical analysis is performed after the division, so that the hierarchical statistical analysis is realized.
S104: and obtaining a target value according to the content value corresponding to each interactive content, and taking the target value as the interactive result of the document.
Wherein the target value is used for evaluating the score of the interactive object for the answer of the interactive content, wherein the target value may be set in advance based on a certain rule, and it is assumed that there are interactive content 1, interactive content 2, and interactive content 3, where each interactive content corresponds to four answers A, B, C, D, if the answer of the interactive object for the interactive content 1 is a, the content value corresponding to the interactive content 1 of the interactive object is 20 points, if the answer of the interactive object for the interactive content 1 is B, the content value corresponding to the interactive content 1 of the interactive object is 30 points, if the answer of the interactive object for the interactive content 1 is C, the content value corresponding to the interactive content 1 of the interactive object is 40 points, if the answer of the interactive object for the interactive content 1 of the interactive object is D, the content value corresponding to the interactive content 1 of the interactive object is 10 points, this is not limiting.
It can be seen from the above example that the content values corresponding to the target interactive content 1 in the documents corresponding to the interactive object 1, the interactive object 2 and the interactive object 3 may be the same or different, depending on the interactive object 1, the interactive object 2 and the answer of the interactive object 3 to the target interactive content 1.
In the specific execution process, the target value can be obtained according to the content value corresponding to each interactive content for each interactive content, and the target value is used as the document statistical result, so that the targeted statistical analysis for each interactive content is realized.
In a specific execution process, the content value of the target interactive content corresponding to each target interactive object can be determined, the value average value is determined according to each content value, and the value average value is used as the target value.
For example, for the above example, assuming that the content value corresponding to the target interactive content 1 in the document of the interactive object 1 is 30 points, the content value corresponding to the target interactive content 1 in the document of the interactive object 2 is 20 points, and the content value corresponding to the target interactive content 1 in the document of the interactive object 3 is 40 points, the value average value of the 30 points, the 20 points, and the 40 points may be 45 points as the result of the statistics on the target interactive content 1, and so on, and the result of the statistics on the target interactive contents 2 and 3 is determined, which is not limited thereto.
In the embodiment of the disclosure, by determining the identity attribute corresponding to each interactive object, determining the target interactive objects having the same corresponding identity attribute, obtaining the target interactive content in the document of each target interactive object, obtaining the target value according to the content value corresponding to each target interactive content, and taking the target value as the document statistical result, in the process of performing statistical analysis on the document by using the electronic device, hierarchical statistical analysis can be performed on multiple documents by combining the identity attribute corresponding to the interactive object, the automatic statistical effect of the document is effectively improved, and the reference value of the analysis result is improved.
When the content value of the target interactive content corresponding to each target interactive object is determined, another content value determination method for the target interactive content with multiple layers and multiple dimensions is further provided in the embodiment of the disclosure. Referring to fig. 3, fig. 3 is a flowchart illustrating an interaction method for a document according to another embodiment of the present disclosure.
S301: the target interactive content is determined based on target dimensions under each level, the target dimensions of each level are obtained by combining the type division of the target interactive content in advance, each level comprises a plurality of levels, the dimensions under each level comprise a plurality of dimensions, and the target dimensions are partial dimensions in the plurality of dimensions.
In the embodiment of the disclosure, it may also be determined that the target interactive content corresponds to content values of different levels and different dimensions, the target interactive content may be subjected to dimension division based on a certain division rule, and the corresponding content value is determined based on the target interactive content after the dimension division, and the target interactive content is divided into corresponding dimensions based on the type of the target interactive content, so that the content value of the target interactive content is analyzed by combining with the type statistics of the target interactive content, thereby implementing the multilevel and multidimensional statistics of the document, and improving the statistical analysis capability of the electronic device on the document.
Referring to fig. 4, fig. 4 is a schematic diagram of target interactive content division in the embodiment of the present disclosure, assuming that the target interactive content includes: target interactive content 1, target interactive content 2, target interactive content 3, and target interactive content 4, three levels of dimensions are shown in fig. 4, wherein each target interactive content corresponds to a dimension of each level, which may be referred to as a target dimension, for example, the target interactive content 1 may be divided into the 1 st level dimension 1, the target interactive content 2 may be divided into the 1 st level dimension 2, the target interactive content 3 may be divided into the 1 st level dimension 3, the target interactive content 4 may be divided into the 1 st level dimension 3, and so on, the 1 st level dimension 1 may be divided into the 2 nd level dimension 1 or the 2 nd level dimension 2, dimension 2 of level 1 may be divided into dimension 1 of level 2, dimension 3 of level 1 may be divided into dimension 2 of level 2, and dimension 1 of level 2 and dimension 2 of level 2 may be divided into dimension 1 of level 3, respectively.
Based on the example in fig. 4, the target interactive content 1 is based on the target dimension at level 1 as dimension 1 at level 1, the target interactive content 2 is based on the target dimension at level 1 as dimension 1 at level 1 and dimension 2 at level 1, and so on.
The multi-level and multi-dimensional division process for the target interactive content may be obtained by performing abstract division on the type of the target interactive content, assuming that the type of the target interactive content is a department type, the first level may be abstracted as a division company to which the department belongs, the second level may be abstracted as a subsidiary company to which the division company belongs, and the second level may be abstracted as a general company to which the subsidiary company belongs.
S302: and under each level, obtaining the content value of the target interactive content according to the content value corresponding to the target interactive content belonging to the same target dimension.
In a specific execution process, the content value corresponding to the target interactive content may be reduced and determined by combining the multi-level and multi-dimensional division relationship shown in fig. 4, so that the content value of the target interactive content is analyzed by combining with the type statistics of the target interactive content.
Optionally, at a first level, obtaining a first content value of the target interactive content according to the content values corresponding to the target interactive contents belonging to the same target dimension; and under a second level, obtaining a second content value of the target interactive content according to the first content value corresponding to the target interactive content belonging to the same target dimension until each level is traversed, wherein the level of the first level is lower than that of the second level, and the target dimension of the first level belongs to the target dimension of the second level.
In a specific implementation process, the first hierarchy and the second hierarchy are two hierarchies having a dimension membership relationship in the plurality of hierarchies divided as described above, so that a target dimension of the first hierarchy belongs to a target dimension of the second hierarchy, that is, the target dimension of the first hierarchy is subordinate to a target dimension of the second hierarchy, the first hierarchy is assumed to be the 1 st hierarchy shown in fig. 4, and the second hierarchy is assumed to be the 2 nd hierarchy shown in fig. 4, or the first hierarchy is assumed to be the 2 nd hierarchy shown in fig. 4, and the second hierarchy is assumed to be the 3 rd hierarchy shown in fig. 4, which is not limited thereto.
The content value of the target interactive content under the first level is obtained according to the content values corresponding to the target interactive contents belonging to the same target dimension, and the content value of the target interactive content under the second level is obtained according to the first content value corresponding to the target interactive contents belonging to the same target dimension, and the content value of the target interactive content under the second level is obtained and can be called as a second content value, namely the content value under the first level is the content value of the target interactive content, and the second content value is the content value under the second level.
By respectively determining the content values of the target interactive content corresponding to different levels, multi-level and multi-dimensional statistics of the document can be realized in the process of statistical analysis, and the statistical analysis capability of the electronic equipment on the document is improved.
In the embodiment of the disclosure, the target interactive content is determined based on target dimensions of each level, the target dimensions of each level are obtained by combining type division of the target interactive content in advance, each level comprises a plurality of levels, the dimensions of each level comprise a plurality of dimensions, the target dimensions are partial dimensions of the plurality of dimensions, under each level, the content value of the target interactive content is obtained according to the content value corresponding to the target interactive content belonging to the same target dimension, the target interactive content can be divided into the corresponding dimensions based on the type of the target interactive content, the content value of the target interactive content is analyzed by combining the type statistics of the target interactive content, the multi-level and multi-dimensional statistics of the document is realized, the statistical analysis capability of the electronic equipment on the document is improved, therefore, the statistics of the electronic equipment on the document is not limited by the type of the interactive content, and the statistical analysis method is more applicable.
In the embodiment of the present disclosure, the documents are the same document, or the documents are different documents, where when the documents are the same document, it indicates that the interactive content between the documents is the same, and each document is a document in the same questionnaire survey process, and when the documents are different documents, it indicates that the interactive content between the documents is different, and each document is a document in a different questionnaire survey process.
Fig. 5 is a flowchart illustrating an interaction method of a document according to another embodiment of the disclosure.
The embodiment shown in fig. 5 is applied to the case that the documents are the same document, and when the documents are the same document, it indicates that the interactive contents between the documents are the same, and the documents are the documents in the same questionnaire survey process.
Referring to fig. 5, the method includes:
s501: and determining a first identity attribute of an interactive object corresponding to the document.
Wherein, when the documents are the same document, the identity attribute of the interactive object may be referred to as a first identity attribute.
S502: and according to the first identity attribute, combining the first content value and the second content value of each target interactive content in the document, and counting the same document.
In a specific implementation process, the plurality of interactive objects may be divided according to the first identity attribute, and after the target interactive contents are respectively determined to correspond to the content values of different levels, in a statistical analysis process, the content values corresponding to different levels in the target interactive contents of the interactive objects with the same first identity attribute may be compared, or the content values corresponding to different levels in the target interactive contents of the interactive objects with different first identity attributes may be compared, so as to perform statistics on the same document.
In the embodiment of the disclosure, the same document is counted by determining the first identity attribute of the interactive object corresponding to the document and combining the first content value and the second content value of each target interactive content in the document according to the first identity attribute, the same document can be counted, the number of the documents is not limited in the process of statistical analysis, and the statistical effect can be effectively guaranteed in the application scenario of statistical analysis with large data capacity.
Fig. 6 is a flowchart illustrating an interaction method of a document according to another embodiment of the disclosure.
The embodiment shown in fig. 6 is applied to the case that the documents are different documents, and when the documents are different documents, the interactive contents between the documents are different, and the documents are the documents in different questionnaire processes.
Referring to fig. 6, the method includes:
s601: and determining first interactive content from the plurality of documents, wherein the first interactive content is the same interactive content among the documents.
The embodiment of the disclosure can be applied to the statistical analysis of the same document and the statistical analysis of different documents.
When the documents are different documents, the same interactive contents between the documents may be referred to as first interactive contents.
S602: and determining a second identity attribute of the interactive object corresponding to the document.
Wherein, when the document is a different document, the identity attribute of the interactive object may be referred to as a second identity attribute.
S603: and according to the second identity attribute, combining the first content value and the second content value of the first interactive content in the document to count different documents.
In the embodiment of the disclosure, the first interactive content is determined from the plurality of documents, the first interactive content is the same interactive content among the documents, the second identity attribute of the interactive object corresponding to the document is determined, and the first content value and the second content value of the first interactive content in the document are combined according to the second identity attribute, so that the statistical analysis of the documents in different questionnaire survey processes is realized, the application scene of the statistical analysis of the documents is expanded, and the statistical analysis effect is improved.
Fig. 7 is a schematic structural diagram of an interaction device of a document according to an embodiment of the present disclosure.
Referring to fig. 7, the apparatus 700 includes:
a first obtaining module 701, configured to obtain an identity attribute of each interactive object;
a first determining module 702, configured to determine target interaction objects with the same identity attribute;
a second obtaining module 703, configured to obtain interactive content in a document corresponding to each target interactive object;
and a second determining module 704, configured to obtain a target value according to the content value corresponding to each interactive content, and use the target value as an interactive result of the document.
Alternatively, in some embodiments, referring to fig. 8, the second determining module 704 includes:
a first determining submodule 7041, configured to determine content values of target interactive content corresponding to each target interactive object;
a second determination sub-module 7042 for determining a value average value from the respective content values and taking the value average value as a target value.
Optionally, in some embodiments, the first determining submodule 7041 includes:
the determining unit 70411 is configured to determine that the target interactive content is based on a target dimension under each level, where the target dimension of each level is obtained by being divided in advance in combination with the type of the target interactive content, the level includes multiple levels, the dimension under each level includes multiple dimensions, and the target dimension is a partial dimension of the multiple dimensions.
The analyzing unit 70412 is configured to, at each level, obtain a content value of the target interactive content according to a content value corresponding to the target interactive content belonging to the same target dimension.
Optionally, in some embodiments, the analyzing unit 70412 is specifically configured to:
under a first level, obtaining a first content value of the target interactive content according to the content values corresponding to the target interactive contents belonging to the same target dimension;
and under a second level, obtaining a second content value of the target interactive content according to the first content value corresponding to the target interactive content belonging to the same target dimension until each level is traversed, wherein the level of the first level is lower than that of the second level, and the target dimension of the first level belongs to the target dimension of the second level.
Optionally, in some embodiments, the documents are the same document, or the documents are different documents.
Optionally, in some embodiments, when the documents are the same document, the apparatus 700 further includes:
a third determining module 705, configured to determine a first identity attribute of an interactive object corresponding to a document;
the first statistical module 706 is configured to perform statistics on the same document according to the first identity attribute and by combining the first content value and the second content value of each target interactive content in the document.
Optionally, in some embodiments, when the document is a different document, the apparatus 700 further includes:
a fourth determining module 707, configured to determine first interactive content from the multiple documents, where the first interactive content is the same interactive content among the documents;
a fifth determining module 708, configured to determine a second identity attribute of the interactive object corresponding to the document;
the second statistical module 709 is configured to perform statistics on different documents according to the second identity attribute and by combining the first content value and the second content value of the first interactive content in the document.
It should be noted that the explanation of the embodiment of the document interaction method in the foregoing embodiments of fig. 1 to fig. 6 also applies to the document interaction apparatus 700 of the embodiment, and the implementation principle is similar, and is not repeated here.
In the embodiment of the disclosure, by determining the identity attribute corresponding to each interactive object, determining the target interactive objects having the same corresponding identity attribute, obtaining the target interactive content in the document of each target interactive object, obtaining the target value according to the content value corresponding to each target interactive content, and using the target value as the document statistical result, hierarchical statistical analysis can be performed on multiple documents by combining the identity attributes corresponding to the interactive objects in the process of performing statistical analysis on the documents by using electronic equipment, so that the automatic statistical effect of the documents is effectively improved, and the reference value of the analysis result is improved.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Referring to fig. 9, an electronic device 900 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 901 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)902 or a program loaded from a storage means 908 into a Random Access Memory (RAM) 903. In the RAM 903, various programs and data necessary for the operation of the electronic apparatus 900 are also stored. The processing apparatus 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904. An input/output (I/O) interface 905 is also connected to bus 904.
Generally, the following devices may be connected to the I/O interface 905: input devices 906 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 907 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 908 including, for example, magnetic tape, hard disk, etc.; and a communication device 909. The communication device 909 may allow the electronic apparatus 900 to perform wireless or wired communication with other apparatuses to exchange data. While fig. 7 illustrates an electronic device 900 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program containing program code for performing the method of interacting with a document illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication device 909, or installed from the storage device 908, or installed from the ROM 902. The computer program performs the above-described functions defined in the interaction method of the document of the embodiment of the present disclosure when executed by the processing apparatus 901.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: determining the identity attribute corresponding to each interactive object; determining target interaction objects with the same corresponding identity attribute; acquiring target interactive content in the document of each target interactive object; and obtaining a target value according to the content value corresponding to each target interactive content, and taking the target value as a document statistical result.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. The name of the module does not in some cases form a limitation on the module itself, for example, the first determining module may also be described as a "module for determining an identity attribute corresponding to each of the interaction objects".
It should be noted that, in the description of the present disclosure, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present disclosure, "a plurality" means two or more unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present disclosure includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present disclosure.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware that is related to instructions of a program, and the program may be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present disclosure have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure, and that changes, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present disclosure.

Claims (16)

1. A document interaction method, wherein the number of documents is at least one, and each document has a corresponding interaction object, the method comprising:
acquiring the identity attribute of each interactive object;
determining target interaction objects with the same identity attribute;
acquiring interactive contents in the document corresponding to each target interactive object;
and obtaining a target value according to the content value corresponding to each interactive content, and taking the target value as the interactive result of the document.
2. The method of interacting a document according to claim 1, wherein the obtaining a target value according to a content value corresponding to each of the interactive contents comprises:
determining the content value of the target interactive content corresponding to each target interactive object;
determining a value average from the content values, and using the value average as the target value.
3. The method of claim 2, wherein the determining the content value of the target interactive content corresponding to each of the target interactive objects comprises:
determining target dimensions of the target interactive content based on each level, wherein the target dimensions of each level are obtained by combining the type division of the target interactive content in advance, the level comprises a plurality of levels, the dimensions of each level comprise a plurality of dimensions, and the target dimensions are partial dimensions of the plurality of dimensions;
and under each hierarchy, obtaining the content value of the target interactive content according to the content value corresponding to the target interactive content belonging to the same target dimension.
4. The method for interacting with a document according to claim 3, wherein the obtaining, at each of the hierarchical levels, the content value of the target interactive content according to the content value corresponding to the target interactive content belonging to the same target dimension comprises:
under a first level, obtaining a first content value of the target interactive content according to the content values corresponding to the target interactive contents belonging to the same target dimension;
and under a second level, obtaining a second content value of the target interactive content according to a first content value corresponding to the target interactive content belonging to the same target dimension until each level is traversed, wherein the level of the first level is lower than that of the second level, and the target dimension of the first level belongs to the target dimension of the second level.
5. The method of interacting with a document of claim 4, wherein the documents are the same document or the documents are different documents.
6. The method of interacting with a document of claim 5, wherein when the documents are the same document, the method further comprises:
determining a first identity attribute of an interactive object corresponding to the document;
and according to the first identity attribute, combining a first content value and a second content value of each target interactive content in the document to count the same document.
7. The method of interacting with a document of claim 4, wherein when the document is a different document, the method further comprises:
determining first interactive content from a plurality of documents, wherein the first interactive content is the same interactive content among the documents;
determining a second identity attribute of an interactive object corresponding to the document;
and according to the second identity attribute, combining a first content value and a second content value of the first interactive content in the document to count the different documents.
8. An interactive apparatus for documents, wherein the number of the documents is at least one, and each document has a corresponding interactive object, the apparatus comprising:
the first acquisition module is used for acquiring the identity attribute of each interactive object;
the first determining module is used for determining the target interaction objects with the same identity attribute;
the second acquisition module is used for acquiring interactive contents in the document corresponding to each target interactive object;
and the second determining module is used for obtaining a target value according to the content value corresponding to each interactive content and taking the target value as the interactive result of the document.
9. The interactive apparatus of claim 8, wherein the second determining module comprises:
the first determining submodule is used for determining the content value of the target interactive content corresponding to each target interactive object;
a second determination submodule configured to determine a value average value from the content values, and to use the value average value as the target value.
10. The document interaction device of claim 9, wherein the first determination submodule comprises:
the determining unit is configured to determine that the target interactive content is based on target dimensions of each level, the target dimensions of each level are obtained by combining type division of the target interactive content in advance, the level includes multiple levels, the dimensions of each level include multiple dimensions, and the target dimensions are partial dimensions of the multiple dimensions;
and the analysis unit is used for obtaining the content value of the target interactive content according to the content value corresponding to the target interactive content belonging to the same target dimension under each hierarchy.
11. The document interaction apparatus of claim 10, wherein the analysis unit is specifically configured to:
under a first level, obtaining a first content value of the target interactive content according to the content values corresponding to the target interactive contents belonging to the same target dimension;
and under a second level, obtaining a second content value of the target interactive content according to a first content value corresponding to the target interactive content belonging to the same target dimension until each level is traversed, wherein the level of the first level is lower than that of the second level, and the target dimension of the first level belongs to the target dimension of the second level.
12. The interactive apparatus of claim 11, wherein the documents are the same document or the documents are different documents.
13. The apparatus for interacting with a document of claim 12, wherein when the documents are the same document, the apparatus further comprises:
a third determining module, configured to determine a first identity attribute of an interactive object corresponding to the document;
and the first statistical module is used for performing statistics on the same document by combining the first content value and the second content value of each target interactive content in the document according to the first identity attribute.
14. The apparatus for interacting with a document of claim 12, wherein when the document is a different document, the apparatus further comprises:
a fourth determining module, configured to determine first interactive content from the multiple documents, where the first interactive content is identical to interactive content between the documents;
a fifth determining module, configured to determine a second identity attribute of the interactive object corresponding to the document;
and the second statistical module is used for carrying out statistics on the different documents by combining the first content value and the second content value of the first interactive content in the document according to the second identity attribute.
15. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out a method of interacting with a document according to any one of claims 1 to 7.
16. An electronic device, comprising:
at least one processor, and a memory communicatively coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, the instructions being arranged to perform a method of interacting the documents of any of the preceding claims 1-7.
CN201910916484.7A 2019-09-26 2019-09-26 Document interaction method and device, storage medium and electronic equipment Pending CN110674258A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910916484.7A CN110674258A (en) 2019-09-26 2019-09-26 Document interaction method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910916484.7A CN110674258A (en) 2019-09-26 2019-09-26 Document interaction method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN110674258A true CN110674258A (en) 2020-01-10

Family

ID=69079173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910916484.7A Pending CN110674258A (en) 2019-09-26 2019-09-26 Document interaction method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110674258A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090248489A1 (en) * 2008-03-26 2009-10-01 Moncreiff Craig T System and method of market research business analysis
CN106021622A (en) * 2016-07-18 2016-10-12 周云 Information quantitative analysis system based on big data
CN106228394A (en) * 2016-07-18 2016-12-14 周云 A kind of information mean analysis system based on big data
CN108428066A (en) * 2018-04-03 2018-08-21 柳州市潭中人民医院 The construction method of hospital services culture measurement model

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090248489A1 (en) * 2008-03-26 2009-10-01 Moncreiff Craig T System and method of market research business analysis
CN106021622A (en) * 2016-07-18 2016-10-12 周云 Information quantitative analysis system based on big data
CN106228394A (en) * 2016-07-18 2016-12-14 周云 A kind of information mean analysis system based on big data
CN108428066A (en) * 2018-04-03 2018-08-21 柳州市潭中人民医院 The construction method of hospital services culture measurement model

Similar Documents

Publication Publication Date Title
CN107944481B (en) Method and apparatus for generating information
CN110399848A (en) Video cover generation method, device and electronic equipment
CN110865898B (en) Method, device, medium and equipment for converging crash call stack
CN110515968B (en) Method and apparatus for outputting information
CN110263276B (en) Message distribution method, device, equipment and storage medium
CN109815448B (en) Slide generation method and device
CN111985197A (en) Template generation method based on medical information
CN110163001B (en) Information display method and device based on user relationship
CN111738316A (en) Image classification method and device for zero sample learning and electronic equipment
CN113347276B (en) Mobile access system based on GIS
CN113485890B (en) Service monitoring method, device, equipment and storage medium for flight inquiry system
CN110674258A (en) Document interaction method and device, storage medium and electronic equipment
CN113204557B (en) Electronic form importing method, device, equipment and medium
CN112100211B (en) Data storage method, apparatus, electronic device, and computer readable medium
CN111338621B (en) Method, apparatus, electronic device and computer readable medium for displaying data
CN114860699A (en) Data quality detection method, device, equipment and storage medium
CN109522133B (en) Data splicing method and device, electronic equipment and storage medium
CN112100159A (en) Data processing method and device, electronic equipment and computer readable medium
CN110991312A (en) Method, apparatus, electronic device, and medium for generating detection information
CN110704679A (en) Video classification method and device and electronic equipment
CN113672675B (en) Data detection method and device and electronic equipment
CN111026983B (en) Method, device, medium and electronic equipment for realizing hyperlink
CN114428823B (en) Data linkage method, device, equipment and medium based on multidimensional variable expression
CN116820539B (en) System software operation maintenance system and method based on Internet
CN112036821B (en) Quantization method, quantization device, quantization medium and quantization electronic equipment based on grid map planning private line

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination