CN113128181A - Information processing method and device - Google Patents

Information processing method and device Download PDF

Info

Publication number
CN113128181A
CN113128181A CN202110316379.7A CN202110316379A CN113128181A CN 113128181 A CN113128181 A CN 113128181A CN 202110316379 A CN202110316379 A CN 202110316379A CN 113128181 A CN113128181 A CN 113128181A
Authority
CN
China
Prior art keywords
document
document template
functional component
target
attribute
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.)
Granted
Application number
CN202110316379.7A
Other languages
Chinese (zh)
Other versions
CN113128181B (en
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.)
Wuba Co Ltd
Original Assignee
Wuba 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 Wuba Co Ltd filed Critical Wuba Co Ltd
Priority to CN202110316379.7A priority Critical patent/CN113128181B/en
Publication of CN113128181A publication Critical patent/CN113128181A/en
Application granted granted Critical
Publication of CN113128181B publication Critical patent/CN113128181B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The application discloses an information processing method and device. And acquiring a target document template for generating the electronic document, wherein the target document template comprises a plurality of functional components. Among the plurality of functional components, a functional component whose attribute is to be edited is determined. And displaying the attribute editing control of one functional component with the attribute to be edited, and switching and displaying the attribute editing control of the functional component with the attribute to be edited, which is associated with the one functional component, under the condition that the editing content of the attribute of the one functional component is received according to the attribute editing control. And generating an electronic document at least according to the target document template and the editing content of the attribute of each functional component to be edited. Through the application, the workload of developers can be reduced, and further the labor cost can be reduced. The efficiency of developing an electronic document can be improved. Secondly, the influence on the feeling and efficiency of the user for editing the content of the target document template can be avoided.

Description

Information processing method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to an information processing method and apparatus.
Background
In various services of the internet, sometimes statistical analysis may need to be performed on information or requirements of users, and at this time, an electronic questionnaire may need to be used, some problems may be set in the electronic questionnaire for being filled in by a large number of users, and then statistical analysis and the like may be performed on contents filled in the electronic questionnaire by the large number of users, so as to perform statistical analysis on the information or requirements of the users.
In one mode, an operation and maintenance person can determine functional components (filling items, background diagrams, watermarks, buttons and the like) and attributes of the functional components and the like included in an electronic questionnaire according to actual business requirements, and push the functional components and the like to a developer, and the developer writes computer program codes of the electronic questionnaire according to the functional components and the attributes of the functional components and the like included in the electronic questionnaire determined by the operation and maintenance person and then generates the electronic questionnaire according to the written computer program codes.
However, the inventor finds that electronic questionnaires are sometimes required to be used under different business requirements, and thus developers need to respectively develop electronic questionnaires meeting different business requirements, that is, in order to obtain electronic questionnaires meeting different business requirements, developers need to develop computer program codes of electronic questionnaires meeting different business requirements, which results in large development workload and high labor cost for developers. And, the efficiency of developing electronic questionnaires is low.
Disclosure of Invention
In order to reduce labor cost and improve efficiency of developing an electronic questionnaire, the application shows an information processing method and an information processing device.
In a first aspect, the present application shows an information processing method, comprising:
acquiring a target document template for generating an electronic document, wherein the target document template comprises a plurality of functional components;
determining a functional component with properties to be edited in the plurality of functional components;
displaying a property editing control of one functional component of which the property is to be edited, and switching and displaying the property editing control of the functional component of which the property is to be edited and is associated with the functional component under the condition that the property editing control receives the editing content of the property of the functional component;
and generating an electronic document at least according to the target document template and the editing content of the attribute of each functional component to be edited.
In an optional implementation, the method further includes:
under the condition that the editing content of the attribute of one functional component in the target document template is received, generating a preview image of the one functional component on the electronic document according to the editing content of the attribute of the one functional component;
and displaying the preview image in real time.
In an optional implementation manner, the determining, among the plurality of functional components, a functional component whose attribute is to be edited includes:
acquiring the times of editing the attribute of each functional component in the target document template in the historical process;
and selecting at least one functional component from the plurality of functional components according to the sequence of the edited times from high to low, and using the selected functional component as a functional component with the attribute to be edited.
In an optional implementation manner, the obtaining a target document template for generating an electronic document includes:
receiving user-input search text for searching the target document template in a plurality of document templates;
and searching the target document template in the plurality of document templates according to the search text.
In an alternative implementation, the search text includes a component identification of the target functional component;
the searching the target document template in the plurality of document templates according to the search text comprises:
searching the document templates comprising the target function component in the plurality of document templates according to the component identification;
and acquiring the target document template according to the searched document template.
In an alternative implementation, the number of the searched document templates is at least two;
the obtaining of the target document template according to the searched document template includes:
and selecting the document template with the least functional components from the searched at least two document templates as the target document template.
In an alternative implementation, the number of the searched document templates is at least two;
the obtaining of the target document template according to the searched document template includes:
and selecting the document template which is used most frequently in the history process from at least two searched document templates as the target document template.
In an alternative implementation, the number of the searched document templates is at least two; the number of the target functional components included in the searched text is not all the same;
the obtaining of the target document template according to the searched document template includes:
and selecting the document template with the largest number of target function components from the searched at least two document templates, and taking the document template as the target document template.
In a second aspect, the present application shows an information processing apparatus comprising:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring a target document template used for generating an electronic document, and the target document template comprises a plurality of functional components;
the determining module is used for determining the functional component with the attribute to be edited in the plurality of functional components;
the first display module is used for displaying a property editing control of one functional component with properties to be edited, and switching and displaying the property editing control of the functional component with the properties to be edited, which is associated with the one functional component, under the condition that the property editing control receives the editing content of the properties of the one functional component;
and the first generation module is used for generating the electronic document at least according to the target document template and the editing content of the attribute of each functional component to be edited.
In an optional implementation, the apparatus further comprises:
the second generation module is used for generating a preview image of one functional component on the electronic document according to the editing content of the attribute of the one functional component under the condition that the editing content of the attribute of the one functional component in the target document template is received;
and the second display module is used for displaying the preview image in real time.
In an optional implementation manner, the determining module includes:
the acquisition unit is used for acquiring the times of editing the attribute of each functional component in the target document template in the historical process;
and the selecting unit is used for selecting at least one functional component from the plurality of functional components according to the sequence of the edited times from high to low, and the functional component is used as a functional component with the attribute to be edited.
In an optional implementation manner, the obtaining module includes:
a receiving unit configured to receive a search text input by a user for searching the target document template among a plurality of document templates;
and the searching unit is used for searching the target document template in the plurality of document templates according to the searching text.
In an alternative implementation, the search text includes a component identification of the target functional component;
the search unit includes:
a searching subunit, configured to search, according to the component identifier, a document template including the target function component from among the plurality of document templates;
and the acquisition subunit is used for acquiring the target document template according to the searched document template.
In an alternative implementation, the number of the searched document templates is at least two;
the obtaining subunit is specifically configured to: and selecting the document template with the least functional components from the searched at least two document templates as the target document template.
In an alternative implementation, the number of the searched document templates is at least two;
the obtaining subunit is specifically configured to: and selecting the document template which is used most frequently in the history process from at least two searched document templates as the target document template.
In an alternative implementation, the number of the searched document templates is at least two; the number of the target functional components included in the searched text is not all the same;
the obtaining subunit is specifically configured to: and selecting the document template with the largest number of target function components from the searched at least two document templates, and taking the document template as the target document template.
In a third aspect, the present application shows an electronic device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the information processing method according to the first aspect.
In a fourth aspect, the present application shows a non-transitory computer-readable storage medium having instructions which, when executed by a processor of an electronic device, enable the electronic device to perform the information processing method according to the first aspect.
In a fifth aspect, the present application shows a computer program product, in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the information processing method according to the first aspect.
The technical scheme provided by the application can comprise the following beneficial effects:
in the application, a target document template for generating an electronic document is obtained, wherein the target document template comprises a plurality of functional components. Among the plurality of functional components, a functional component whose attribute is to be edited is determined. And displaying the attribute editing control of one functional component with the attribute to be edited, and switching and displaying the attribute editing control of the functional component with the attribute to be edited, which is associated with the one functional component, under the condition that the editing content of the attribute of the one functional component is received according to the attribute editing control. And generating an electronic document at least according to the target document template and the editing content of the attribute of each functional component to be edited.
According to the method and the device, under the condition that the electronic document needs to be generated, a user can control the electronic equipment to call a target document template which is developed in advance by a developer and used for generating the electronic document, and input the editing content of the attribute of the functional component in the target document template, the electronic equipment can receive the editing content of the attribute of the functional component in the target document template and generate the electronic document by means of the editing content, the target document template can be reused when the electronic document needs to be generated for multiple times, and different electronic documents can be generated based on the target document template by editing different contents of the attribute of the functional component in the target document template.
Therefore, developers can only write the target document template, so that users can generate different electronic documents based on the target document template, and the developers do not need to develop different electronic documents in person and respectively, so that the workload of the developers can be reduced, and the labor cost can be reduced.
In addition, developers do not need to write the electronic documents based on the computer program language from the beginning, the electronic documents are generated on the basis of the target document templates which are developed in advance, the target document templates which are developed in advance correspond to the target document templates which are already completed part of the work of generating the electronic documents, and users only need to complete the other part of the work (such as editing the attributes of functional components and the like), so that the efficiency of developing the electronic documents can be improved.
Secondly, by switching and displaying the attribute editing control of the functional component to be edited of the attribute associated with the functional component, the attribute editing control of the functional component to be edited of the next attribute can be automatically switched and displayed, and the switching by manual operation of a user is avoided, so that the operation complexity or operation burden of the user can be reduced, and the user experience can be improved. And the functional component with the attribute to be edited, which is associated with the functional component, is switched, so that when a user edits the content aiming at the target document template, the edited content has continuity in service, the user can edit the content conveniently, and the influence on the experience and efficiency of the user for editing the content aiming at the target document template is avoided.
Drawings
FIG. 1 is a flow chart of the steps of an information processing method of the present application;
fig. 2 is a block diagram of a structure of an information processing apparatus of the present application;
FIG. 3 is a block diagram of an electronic device shown in the present application;
fig. 4 is a block diagram of an electronic device shown in the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Referring to fig. 1, a flowchart illustrating steps of an information processing method according to the present application, where the method is applied to an electronic device, may specifically include the following steps:
in step S101, a target document template for generating an electronic document is acquired, the target document template including a plurality of functional components therein.
In the application, a developer can develop a document template used for generating an electronic document in advance, and store the developed document template in the electronic device or store the developed document template in a cloud. In one example, the document template includes a questionnaire template or the like for generating an electronic questionnaire.
In this way, in this step, in a case where an operation and maintenance person (hereinafter, a "user") needs to generate an electronic document, the user may input an instruction in the electronic device, so that the electronic device acquires, according to the instruction, a developed document template stored in the electronic device and uses the developed document template as a target document template, or so that the electronic device acquires, according to the instruction, a developed document template stored in the cloud and uses the developed document template as a target document template.
In the case where there is one document template developed in advance by a developer to generate an electronic document, the electronic device may acquire the one document template developed in advance and use the acquired one document template as a target document template.
Or, in a case that there are at least two document templates previously developed by a developer for generating an electronic document, the electronic device may select one document template from the at least two document templates previously developed, and use the selected document template as a target document template, and the specific selection manner may refer to the following embodiments, which are not described in detail herein.
Wherein the functional components in the document template at least comprise at least one of the following: an interface diagram of an electronic document, an advertisement page of the electronic document, a watermark of the electronic document, a button of the electronic document, a preamble of the electronic document, a title/title of the electronic document, a legal agreement related to a business of the electronic document, a title number of a problem in the electronic document, copyright information of the electronic document, and the like.
In step S102, among the plurality of functional components, a functional component whose attribute is to be edited is determined.
In one embodiment, a plurality of functional components included in the target document template may each be determined as a functional component whose attribute is to be edited.
Of course, the functional component whose attribute is to be edited may also be determined in other ways among multiple functional components, which may be specifically referred to the embodiments shown later and will not be described in detail here.
In step S103, a property editing control of one functional component whose property is to be edited is displayed, and when receiving the content of editing the property of the one functional component according to the property editing control, the property editing control of the functional component whose property is to be edited and associated with the one functional component is switched to be displayed.
In the present application, some functional components in the target document template may have default properties, and the user may edit (e.g., modify, etc.) the properties of these functional components, or may not edit the properties of these functional components if the properties are deemed to meet the user's intended requirements. Other functional components may not have default properties, i.e., the properties are null, and the user may edit the properties for these functional components in real time.
Wherein the attribute of the functional component at least comprises at least one of the following: the size, display style, caption, and location in the electronic document of the functional component.
In the application, the attribute of the functional component of the electronic document that the user needs to generate may be different from the attribute provided by the functional component in the target document template, and the user may edit the attribute of the functional component in the target document template in the case that the attribute of the functional component of the electronic document that the user needs to generate is different from the attribute provided by the functional component in the target document template.
In the application, after the electronic device displays the property editing control of the functional component with the property to be edited, the user can input the editing operation on the property of the functional component with the property to be edited based on the property editing control, and the electronic device can acquire the editing content of the user on the property of the functional component with the property to be edited according to the editing operation.
For example, in one example, assuming that the user does not require the presence of an ad page in the electronic document, the user may set the display property of the ad page to "hidden" or the like in the property editing control of the functional component "ad page" displayed by the electronic device.
In another example, assuming that the user needs to add an interface map for the electronic document, the user may upload the interface map that the user needs to add to the target document template in a property editing control of a functional component "interface map" displayed by the electronic device.
In yet another example, assuming that the user needs to modify the text displayed on the button and add a jump link to the button, the user can set the text displayed on the button and set the jump link of the button, etc. in a property editing control of a functional component "button" displayed on the electronic device.
In the application, in order to facilitate the user to edit the attribute of the functional component in the target document template, after the electronic device determines the functional component with the attribute to be edited from the plurality of functional components, the electronic device may automatically display the functional component with the attribute to be edited, so that the user may edit the attribute of the functional component with the attribute to be edited in the target document template based on the functional component with the attribute to be edited.
In the present application, the electronic device may display the property editing control of one functional component whose property is to be edited each time, after the user edits the property of the one functional component with the property to be edited according to the actual requirement based on the property editing control of the one functional component with the property to be edited, the electronic equipment switches the property editing control of the next functional component with the display property to be edited, after the user edits the property of the next functional component with the property to be edited according to the actual requirement based on the property editing control of the next functional component with the property to be edited, the electronic equipment switches the property editing control of the functional component with the display property to be edited, and repeating the steps until the user finishes editing the attribute of the last functional component to be edited according to the actual requirement based on the attribute editing control of the last functional component to be edited.
The mode of switching the property editing control of the display function component by the electronic device may be as follows: and switching the property editing control for displaying the next functional component with the property to be edited after receiving the instruction of the user. For example, when receiving the edit content of the property of the one functional component according to the property edit control, the electronic device may display component identifiers (including function introduction of the component) of other functional components whose properties are to be edited, and when the user clicks which component identifier, the electronic device may switch to display the property edit control of the functional component corresponding to which component identifier.
However, in the above manner, switching the property editing control for displaying the functional component whose property is to be edited requires manual operation by a user, which increases the operation complexity or operation burden of the user and reduces user experience.
Therefore, in order to improve the user experience, in another embodiment of the present application, in a case that the electronic device receives the editing content of the property of the one functional component according to the property editing control, the property editing control of the functional component whose property is to be edited and associated with the one functional component may be switched to be displayed. Therefore, the attribute editing control of the functional component with the next attribute to be edited can be automatically switched and displayed, the switching by manual operation of a user is avoided, the complexity or operation burden of the user can be reduced, and the user experience can be improved. And the functional component with the attribute to be edited, which is associated with the functional component, is switched, so that when a user edits the content aiming at the target document template, the edited content has continuity in service, the user can edit the content conveniently, and the influence on the experience and efficiency of the user for editing the content aiming at the target document template is avoided.
In one embodiment, when switching and displaying the property editing control of the functional component to be edited in the property associated with the one functional component, the sub-functional component of the one functional component may be determined in the hierarchical tree of the functional components in the target document template and used as the functional component to be edited in the property associated with the one functional component, and then the property editing control of the determined functional component is switched and displayed.
When developing the target document template, a developer can generate a hierarchical tree according to the business logic relationship among the functional components in the target document template, and load the hierarchical tree in the target document template for the electronic device to call when switching the display attribute editing control.
In another mode, when switching and displaying the property editing control of the functional component to be edited in the property associated with the functional component, the switching times of switching and displaying the property editing controls of other functional components to be edited in the property by the property editing control of the functional component in the historical process can be acquired; and selecting the functional component with the highest switching frequency from other functional components with properties to be edited, taking the functional component as the functional component with the properties to be edited, which is associated with the functional component, and switching and displaying the property editing control of the selected functional component.
In step S104, an electronic document is generated at least from the target document template and the editing contents of the attributes of the respective functional components whose attributes are to be edited.
In the application, after the user finishes editing the attributes of all the functional components with the attributes to be edited in the target document template, the user may input a generation instruction for generating an electronic document on the electronic device, and after the electronic device receives the generation instruction, the electronic document may be generated at least according to the target document template and the editing content.
In the application, a target document template for generating an electronic document is obtained, wherein the target document template comprises a plurality of functional components. Among the plurality of functional components, a functional component whose attribute is to be edited is determined. And displaying the attribute editing control of one functional component with the attribute to be edited, and switching and displaying the attribute editing control of the functional component with the attribute to be edited, which is associated with the one functional component, under the condition that the editing content of the attribute of the one functional component is received according to the attribute editing control. And generating an electronic document at least according to the target document template and the editing content of the attribute of each functional component to be edited.
According to the method and the device, under the condition that the electronic document needs to be generated, a user can control the electronic equipment to call a target document template which is developed in advance by a developer and used for generating the electronic document, and input the editing content of the attribute of the functional component in the target document template, the electronic equipment can receive the editing content of the attribute of the functional component in the target document template and generate the electronic document by means of the editing content, the target document template can be reused when the electronic document needs to be generated for multiple times, and different electronic documents can be generated based on the target document template by editing different contents of the attribute of the functional component in the target document template.
Therefore, developers can only write the target document template, so that users can generate different electronic documents based on the target document template, and the developers do not need to develop different electronic documents in person and respectively, so that the workload of the developers can be reduced, and the labor cost can be reduced.
In addition, developers do not need to write the electronic documents based on the computer program language from the beginning, the electronic documents are generated on the basis of the target document templates which are developed in advance, the target document templates which are developed in advance correspond to the target document templates which are already completed part of the work of generating the electronic documents, and users only need to complete the other part of the work (such as editing the attributes of functional components and the like), so that the efficiency of developing the electronic documents can be improved.
Secondly, by switching and displaying the attribute editing control of the functional component to be edited of the attribute associated with the functional component, the attribute editing control of the functional component to be edited of the next attribute can be automatically switched and displayed, and the switching by manual operation of a user is avoided, so that the operation complexity or operation burden of the user can be reduced, and the user experience can be improved. And the functional component with the attribute to be edited, which is associated with the functional component, is switched, so that when a user edits the content aiming at the target document template, the edited content has continuity in service, the user can edit the content conveniently, and the influence on the experience and efficiency of the user for editing the content aiming at the target document template is avoided.
In another embodiment of the present application, after the electronic device generates the electronic document, the electronic device may display the electronic document for the user to view, the user may view the content on the electronic document, and thus may view the attributes of each functional component on the electronic document, and the user may manipulate on the electronic document, so as to determine whether each functional component meets the user's expected requirements, in a case where the user finds that at least one functional component in the electronic document does not meet the user's expected requirements, the user may continue to return to the target document template before generating the electronic document and continue editing the attributes of the functional components in the target document template, and then control the electronic device to generate the electronic document according to the target document template and the edited content again until the user finds that all functional components of the generated electronic document can meet the user's expected requirements, the user may put the electronic document into use. For example, electronic documents are released on a network by using an electronic device, so that a large number of clients can fill in the electronic documents, and the filled-in electronic documents and the like are submitted to the electronic device, so that the users can use the electronic device to perform statistical analysis and the like on the contents filled in on the electronic documents by the large number of clients.
In addition, the electronic device can also store the generated electronic document, so that the user can directly control the electronic device to acquire the stored electronic document and use the stored electronic document in the case of needing to use the electronic document later, without needing to control the electronic device again to generate the electronic document in real time according to the embodiment shown in fig. 1, thereby improving the efficiency of acquiring the electronic document and saving the computing resources of the electronic device.
In one embodiment of the application, when the electronic device stores the generated electronic document, the electronic device may obtain an index identifier of the electronic document; the index identifier of the electronic document may be obtained according to the title of the electronic document or the vocabulary specified by the user for the electronic document. The binding relationship between the index identifier of the electronic document and the generated electronic document may then be stored, for example, the index identifier of the electronic document and the generated electronic document are combined into a corresponding table and stored in the corresponding relationship between the index identifier and the electronic document.
In this way, in the case that the electronic document needs to be used later, the user can control the electronic device to search the electronic document according to the index identifier, so that the efficiency of obtaining the electronic document can be further improved.
The subject of the electronic document can be subjected to semantic analysis, and words for describing the subject of the electronic document are obtained and used as index identification of the electronic document. Alternatively, the electronic device may display an input box for the user to input a specified vocabulary for the electronic document, where the vocabulary may be a name or the like specified by the user for the electronic document, and the electronic device may receive the vocabulary input by the user in the input box and serve as an index identifier or the like for the electronic document.
In an embodiment of the present application, the target document template includes a plurality of functional components, and when a user edits attributes of the functional components in the target document template, the attributes such as styles, contents, and positions in the electronic document of the functional components in the electronic document generated later are developed in a direction meeting expected requirements of the user, but the user cannot know in real time whether the edited attributes of the functional components meet the expected requirements of the user.
After the user finishes editing the attribute of the functional component which needs to be edited and controls (inputs a generation instruction for generating the electronic document) the electronic device to generate the electronic document according to at least the target document template and the edited content, the electronic device displays the electronic document for the user to view, and the user can see the content on the electronic document.
In the case that the user feels that at least one functional component in the electronic document does not meet the expected requirements of the user, the user may continue to return to the target document template before the electronic document is generated, continue to edit the attributes of the functional components in the target document template, and then re-control the electronic device to generate the electronic document according to the target document template until the user feels that all the functional components of the generated electronic document meet the expected requirements of the user, and then the user may put the electronic document into use.
However, in the above method, after the user edits the attribute of the functional component, it is impossible to compare in real time whether the edited attribute of the functional component meets the expected requirement of the user, which may reduce the user experience.
Therefore, in order to improve the user experience, in another embodiment of the present application, in a case where the edited content of the attribute of one of the functional components in the target document template is received, the electronic device may generate a preview image of the one of the functional components on the electronic document according to the edited content of the attribute of the one of the functional components in real time, and display the preview image in real time, so that the user can view the edited attribute of the one of the functional components, and can determine whether the attribute of the one of the functional components meets the expected requirement of the user, and in a case that the attribute of the one of the functional components does not meet the expected requirement of the user, the attribute of the one of the functional components may be continuously edited in real time until the attribute of the one of the functional components meets the expected requirement of the user according to the preview image in real time.
By the method and the device, the user can edit the attribute of the functional component and simultaneously compare whether the edited attribute of the functional component meets the expected requirement of the user in real time, so that the user experience can be improved.
In one mode, when determining a functional component whose attribute is to be edited, the functional components included in the target document template may be determined as the functional components whose attribute is to be edited, so that a user may edit the attribute of each functional component whose attribute is to be edited with respect to the attribute editing control of each functional component whose attribute is to be edited.
However, sometimes the attributes of some functional components in the target document template are not edited by the user, for example, for the legal agreement related to the business of the electronic document and the copyright information of the electronic document, the developer may set their default data in the target document template in advance, and the legal agreement related to the business of the electronic document and the copyright information of the electronic document will not affect the actual business of the electronic document, so the user sometimes does not have the need or power to edit the legal agreement related to the business of the electronic document and the copyright information of the electronic document. That is, the user may not edit the legal agreement related to the business of the electronic document and the copyright information of the electronic document on the target document template.
In this case, it is meaningless to display the property editing control of the legal protocol related to the service of the electronic document and the property editing control of the copyright information of the electronic document on the target document template, and after the property editing control of the legal protocol related to the service of the electronic document and the property editing control of the copyright information of the electronic document are displayed, the user needs to manually close the property editing control of the legal protocol related to the service of the electronic document and the property editing control of the copyright information of the electronic document, and so on.
Therefore, in order to improve the user experience and improve the efficiency of generating the electronic document, in another embodiment of the present application, when determining a functional component whose attribute is to be edited, the number of times that the attribute of each functional component in the target document template is edited in the history process may be obtained, and in the plurality of functional components, at least one functional component is selected in the order of the number of times that the attribute is edited and is used as the functional component whose attribute is to be edited. And the user edits the property of the selected at least one functional component based on the property editing control of the selected at least one functional component.
The attribute editing control is used for displaying the attribute editing control of the functional component, wherein the attribute editing control is used for displaying the attribute editing control of the functional component, and the attribute editing control is used for displaying the attribute editing control of the functional component.
In another embodiment of the present application, a developer develops a plurality of document templates in advance, different document templates are used to generate electronic documents applicable to different business scenarios, and functional components in the electronic documents applicable to different business scenarios may not be all the same.
For example, the functional components in the document templates are not all the same, and the electronic documents generated according to different document templates can be applied to different service scenarios because the functional components are not all the same.
The developer may store the developed plurality of document templates on the electronic device for later use in selecting one document template from the plurality of document templates stored in the electronic device in the event that the user needs to generate an electronic document on the electronic device with the document template.
Or, a developer may store a plurality of developed document templates in the cloud, so that the electronic device may download one document template from the plurality of document templates stored in the cloud when a user needs to generate an electronic document on the electronic device by means of the document template.
Specifically, when a user needs to generate an electronic document, the electronic device may be caused to generate the electronic document based on the document template.
Therefore, in step S101, when the electronic device acquires a target document template for generating an electronic document, the electronic device may select one document template among a plurality of document templates that have been developed and serve as the target document template.
In one embodiment of the present application, a user may control an electronic device to display a search box for searching a document template, and then the user may input search text for searching a target document template among a plurality of document templates in the search box, where the search text may include: title, name, number of the document template, or business scenario of the electronic document generated by the document template, etc. The electronic device may receive user-entered search text for searching a target document template among a plurality of document templates; the target document template may then be searched among the plurality of document templates based on the search text. For example, the index identifier may be looked up from the search text in the correspondence between the index identifier and the electronic document, for example, the search content includes the index identifier of the search text, or semantic similarity between each index identifier in the correspondence between the index identifier and the electronic document and the search text is calculated, then the index identifier with the largest semantic similarity with the search text is determined, and the document template corresponding to the determined index identifier is looked up in the correspondence between the index identifier and the electronic document and is used as the target document template.
The method for calculating the semantic similarity of the two texts may refer to an existing method, and the method for calculating the semantic similarity is not limited in the present application.
Or, in another embodiment of the present application, since the functional components in different document templates generated in advance are not all the same. Therefore, the user can control the electronic device to search the document template required to be used in the plurality of developed document templates according to the functional component.
For example, search text entered by a user in a search box may include a component identification of a target functional component; the electronic equipment can search a document template comprising the target function component in the plurality of document templates according to the component identification of the target function component; the target document template may then be obtained from the searched document template.
In one example, for any document template of a plurality of document templates that have been developed, the electronic device may determine the functional components included in the document template, then obtain component identifiers of the functional components included in the document template, combine the component identifiers of the functional components included in the document template into a component identifier set, then combine the component identifier set and the document template into a corresponding entry, and store the corresponding entry in a corresponding relationship between the component identifier set and the document template. The same is true for each of the other document templates in the plurality of document templates that have been developed.
In this way, when the electronic device searches a document template including a target function component from a plurality of document templates according to the component identifier, a component identifier set including the component identifier of the target function component may be determined in a correspondence between the component identifier set and the document template, and then a document template corresponding to the determined component identifier set is searched in the correspondence between the component identifier set and the document template and is used as the document template including the target function component.
In one embodiment, the set of component identifications including the component identification of the target functional component includes: the target function component comprises a component identification set of the component identification of the target function component in the case that the target function component is one, and a component identification set of the component identification of each target function component in a plurality of target function components in the case that the target function component is a plurality of target function components.
In an embodiment of the present application, when at least two searched document templates are obtained, and when a target document template is obtained according to the searched document templates, a document template including the fewest functional components, or the like, may be selected from the at least two searched document templates.
The search text input by the user often needs which functional components are provided in the electronic document, that is, the user compares which functional components, and the search text input by the user does not include the component identifiers of which functional components, so that the user often does not need which functional components are provided in the electronic document, that is, the user does not see which functional components.
Therefore, the document template with the least functional components is selected from the at least two searched document templates, so that the workload of manually screening the functional components after the user can be reduced, and the efficiency of generating the electronic document can be improved.
In another embodiment of the present application, when at least two searched document templates are obtained, and a target document template is obtained according to the searched document templates, a document template that is used the most times in the history process is selected from the at least two searched document templates and is used as the target document template.
For any one document template generated in advance, every time the document template is selected once by the user and used to generate an electronic document, the electronic device may increase the number of times of use corresponding to the document template in the correspondence between the document template and the number of times of use, as well as for each of the other document templates generated in advance.
In this way, when selecting a document template that is used the most number of times in the history process from among the at least two searched document templates, the document template that is used the most number of times may be found in the correspondence between the document template and the number of times used, and then the document template that corresponds to the most number of times used may be found in the correspondence between the document template and the number of times used.
In this embodiment, when the number of the searched document templates is at least two, when the target document template is obtained according to the searched document template, the user does not participate, and the probability that the document template used the most times in the history process is the document template actually required by the user is higher than the probability that the other document templates are the document templates actually required by the user.
In another embodiment of the present application, in the case that there are at least two searched document templates, the component identifications of the target function components included in the search text may be at least two, and the number of the target function components included in the different searched document templates is not all the same.
In one embodiment, in the case that there is one target function component, each searched document template includes the one target function component, and in the case that there are at least two target function components, each searched document template includes at least one target function component of the at least two target function components.
When the target document template is obtained according to the searched document template, the document template with the largest number of target functional components can be selected from the searched at least two document templates and used as the target document template.
For example, suppose that 3 document templates are searched, namely document template 1, document template 2 and document template 3, and the component identifiers of the target function components included in the search text are 6, the document template 1 includes the target function components corresponding to the 6 component identifiers respectively, the document template 2 includes the target function components corresponding to the 4 component identifiers respectively, and the document template 1 includes the target function components corresponding to the 3 component identifiers respectively.
As can be seen, the number of target function components included in the document template 1 is greater than the number of target function components included in the document template 2 and greater than the number of target function components included in the document template 3, and thus, the document template 1 may be selected as a target document template among the document template 1, the document template 2, and the document template 3.
The search text input by the user includes component identifiers of which functional components, and the user often needs which functional components are included in the electronic document, that is, the user sees which functional components. Therefore, selecting the document template including the largest number of target functional components from the searched at least two document templates can reduce the possibility that the user continues to manually add functional components on the document template as much as possible, thereby reducing the workload for adding the required functional components for the user after selecting one document template for the user as much as possible, and improving the efficiency of generating electronic documents.
It is noted that, for simplicity of explanation, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will appreciate that the present application is not limited by the order of acts, as some steps may, in accordance with the present application, occur in other orders and concurrently. Further, those skilled in the art will also appreciate that the embodiments described in the specification are exemplary and that no action is necessarily required in this application.
Referring to fig. 2, a block diagram of an information processing apparatus according to the present application is shown, and the apparatus may specifically include the following modules:
the acquisition module 11 is configured to acquire a target document template for generating an electronic document, where the target document template includes a plurality of functional components;
a determining module 12, configured to determine, among the plurality of functional components, a functional component whose attribute is to be edited;
the first display module 13 is configured to display a property editing control of one functional component whose property is to be edited, and switch and display the property editing control of the functional component whose property is to be edited, where the property editing control is associated with the one functional component, when receiving an editing content of the property of the one functional component according to the property editing control;
and the first generating module 14 is configured to generate an electronic document according to at least the target document template and the editing content of the attribute of each functional component to be edited.
In an optional implementation, the apparatus further comprises:
the second generation module is used for generating a preview image of one functional component on the electronic document according to the editing content of the attribute of the one functional component under the condition that the editing content of the attribute of the one functional component in the target document template is received;
and the second display module is used for displaying the preview image in real time.
In an optional implementation manner, the determining module includes:
the acquisition unit is used for acquiring the times of editing the attribute of each functional component in the target document template in the historical process;
and the selecting unit is used for selecting at least one functional component from the plurality of functional components according to the sequence of the edited times from high to low, and the functional component is used as a functional component with the attribute to be edited.
In an optional implementation manner, the obtaining module includes:
a receiving unit configured to receive a search text input by a user for searching the target document template among a plurality of document templates;
and the searching unit is used for searching the target document template in the plurality of document templates according to the searching text.
In an alternative implementation, the search text includes a component identification of the target functional component;
the search unit includes:
a searching subunit, configured to search, according to the component identifier, a document template including the target function component from among the plurality of document templates;
and the acquisition subunit is used for acquiring the target document template according to the searched document template.
In an alternative implementation, the number of the searched document templates is at least two;
the obtaining subunit is specifically configured to: and selecting the document template with the least functional components from the searched at least two document templates as the target document template.
In an alternative implementation, the number of the searched document templates is at least two;
the obtaining subunit is specifically configured to: and selecting the document template which is used most frequently in the history process from at least two searched document templates as the target document template.
In an alternative implementation, the number of the searched document templates is at least two; the number of the target functional components included in the searched text is not all the same;
the obtaining subunit is specifically configured to: and selecting the document template with the largest number of target function components from the searched at least two document templates, and taking the document template as the target document template.
In the application, a target document template for generating an electronic document is obtained, wherein the target document template comprises a plurality of functional components. Among the plurality of functional components, a functional component whose attribute is to be edited is determined. And displaying the attribute editing control of one functional component with the attribute to be edited, and switching and displaying the attribute editing control of the functional component with the attribute to be edited, which is associated with the one functional component, under the condition that the editing content of the attribute of the one functional component is received according to the attribute editing control. And generating an electronic document at least according to the target document template and the editing content of the attribute of each functional component to be edited.
According to the method and the device, under the condition that the electronic document needs to be generated, a user can control the electronic equipment to call a target document template which is developed in advance by a developer and used for generating the electronic document, and input the editing content of the attribute of the functional component in the target document template, the electronic equipment can receive the editing content of the attribute of the functional component in the target document template and generate the electronic document by means of the editing content, the target document template can be reused when the electronic document needs to be generated for multiple times, and different electronic documents can be generated based on the target document template by editing different contents of the attribute of the functional component in the target document template.
Therefore, developers can only write the target document template, so that users can generate different electronic documents based on the target document template, and the developers do not need to develop different electronic documents in person and respectively, so that the workload of the developers can be reduced, and the labor cost can be reduced.
In addition, developers do not need to write the electronic documents based on the computer program language from the beginning, the electronic documents are generated on the basis of the target document templates which are developed in advance, the target document templates which are developed in advance correspond to the target document templates which are already completed part of the work of generating the electronic documents, and users only need to complete the other part of the work (such as editing the attributes of functional components and the like), so that the efficiency of developing the electronic documents can be improved.
Secondly, by switching and displaying the attribute editing control of the functional component to be edited of the attribute associated with the functional component, the attribute editing control of the functional component to be edited of the next attribute can be automatically switched and displayed, and the switching by manual operation of a user is avoided, so that the operation complexity or operation burden of the user can be reduced, and the user experience can be improved. And the functional component with the attribute to be edited, which is associated with the functional component, is switched, so that when a user edits the content aiming at the target document template, the edited content has continuity in service, the user can edit the content conveniently, and the influence on the experience and efficiency of the user for editing the content aiming at the target document template is avoided.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Fig. 3 is a block diagram of an electronic device 800 shown in the present application. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 3, electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, images, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast operation information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the electronic device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 4 is a block diagram of an electronic device 1900 shown in the present application. For example, the electronic device 1900 may be provided as a server.
Referring to fig. 4, electronic device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.
The electronic device 1900 may also include a power component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input/output (I/O) interface 1958. The electronic device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The information processing method and apparatus provided by the present application are introduced in detail, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (18)

1. An information processing method, characterized in that the method comprises:
acquiring a target document template for generating an electronic document, wherein the target document template comprises a plurality of functional components;
determining a functional component with properties to be edited in the plurality of functional components;
displaying a property editing control of one functional component of which the property is to be edited, and switching and displaying the property editing control of the functional component of which the property is to be edited and is associated with the functional component under the condition that the property editing control receives the editing content of the property of the functional component;
and generating an electronic document at least according to the target document template and the editing content of the attribute of each functional component to be edited.
2. The method of claim 1, further comprising:
under the condition that the editing content of the attribute of one functional component in the target document template is received, generating a preview image of the one functional component on the electronic document according to the editing content of the attribute of the one functional component;
and displaying the preview image in real time.
3. The method according to claim 1, wherein the determining, among the plurality of functional components, a functional component whose attribute is to be edited comprises:
acquiring the times of editing the attribute of each functional component in the target document template in the historical process;
and selecting at least one functional component from the plurality of functional components according to the sequence of the edited times from high to low, and using the selected functional component as a functional component with the attribute to be edited.
4. The method of claim 1, wherein obtaining a target document template for generating an electronic document comprises:
receiving user-input search text for searching the target document template in a plurality of document templates;
and searching the target document template in the plurality of document templates according to the search text.
5. The method of claim 4, wherein the search text includes a component identification of a target functional component;
the searching the target document template in the plurality of document templates according to the search text comprises:
searching the document templates comprising the target function component in the plurality of document templates according to the component identification;
and acquiring the target document template according to the searched document template.
6. The method of claim 5, wherein the number of searched document templates is at least two;
the obtaining of the target document template according to the searched document template includes:
and selecting the document template with the least functional components from the searched at least two document templates as the target document template.
7. The method of claim 5, wherein the number of searched document templates is at least two;
the obtaining of the target document template according to the searched document template includes:
and selecting the document template which is used most frequently in the history process from at least two searched document templates as the target document template.
8. The method of claim 5, wherein the number of searched document templates is at least two; the number of the target functional components included in the searched text is not all the same;
the obtaining of the target document template according to the searched document template includes:
and selecting the document template with the largest number of target function components from the searched at least two document templates, and taking the document template as the target document template.
9. An information processing apparatus characterized in that the apparatus comprises:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring a target document template used for generating an electronic document, and the target document template comprises a plurality of functional components;
the determining module is used for determining the functional component with the attribute to be edited in the plurality of functional components;
the first display module is used for displaying a property editing control of one functional component with properties to be edited, and switching and displaying the property editing control of the functional component with the properties to be edited, which is associated with the one functional component, under the condition that the property editing control receives the editing content of the properties of the one functional component;
and the first generation module is used for generating the electronic document at least according to the target document template and the editing content of the attribute of each functional component to be edited.
10. The apparatus of claim 9, further comprising:
the second generation module is used for generating a preview image of one functional component on the electronic document according to the editing content of the attribute of the one functional component under the condition that the editing content of the attribute of the one functional component in the target document template is received;
and the second display module is used for displaying the preview image in real time.
11. The apparatus of claim 9, wherein the determining module comprises:
the acquisition unit is used for acquiring the times of editing the attribute of each functional component in the target document template in the historical process;
and the selecting unit is used for selecting at least one functional component from the plurality of functional components according to the sequence of the edited times from high to low, and the functional component is used as a functional component with the attribute to be edited.
12. The apparatus of claim 9, wherein the obtaining module comprises:
a receiving unit configured to receive a search text input by a user for searching the target document template among a plurality of document templates;
and the searching unit is used for searching the target document template in the plurality of document templates according to the searching text.
13. The apparatus of claim 12, wherein the search text comprises a component identification of a target function component;
the search unit includes:
a searching subunit, configured to search, according to the component identifier, a document template including the target function component from among the plurality of document templates;
and the acquisition subunit is used for acquiring the target document template according to the searched document template.
14. The apparatus of claim 13, wherein the number of searched document templates is at least two;
the obtaining subunit is specifically configured to: and selecting the document template with the least functional components from the searched at least two document templates as the target document template.
15. The apparatus of claim 13, wherein the number of searched document templates is at least two;
the obtaining subunit is specifically configured to: and selecting the document template which is used most frequently in the history process from at least two searched document templates as the target document template.
16. The apparatus of claim 13, wherein the number of searched document templates is at least two; the number of the target functional components included in the searched text is not all the same;
the obtaining subunit is specifically configured to: and selecting the document template with the largest number of target function components from the searched at least two document templates, and taking the document template as the target document template.
17. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the information processing method of any one of claims 1 to 8.
18. A non-transitory computer-readable storage medium in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the information processing method of any one of claims 1 to 8.
CN202110316379.7A 2021-03-24 2021-03-24 Information processing method and device Active CN113128181B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110316379.7A CN113128181B (en) 2021-03-24 2021-03-24 Information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110316379.7A CN113128181B (en) 2021-03-24 2021-03-24 Information processing method and device

Publications (2)

Publication Number Publication Date
CN113128181A true CN113128181A (en) 2021-07-16
CN113128181B CN113128181B (en) 2023-04-07

Family

ID=76774309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110316379.7A Active CN113128181B (en) 2021-03-24 2021-03-24 Information processing method and device

Country Status (1)

Country Link
CN (1) CN113128181B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114841127A (en) * 2022-06-29 2022-08-02 天津联想协同科技有限公司 Layer superposition method and device based on streaming electronic collaboration document

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1790242A (en) * 2004-08-16 2006-06-21 微软公司 User interface displaying selectable software function control related to selected object on context
US20170052937A1 (en) * 2015-08-21 2017-02-23 Adobe Systems Incorporated Previews for Contextual Searches
CN107132975A (en) * 2017-05-26 2017-09-05 努比亚技术有限公司 A kind of control editing and processing method, mobile terminal and computer-readable recording medium
US20170308610A1 (en) * 2016-04-25 2017-10-26 Microsoft Technology Licensing, Llc Document Collaboration Discovery
CN110705237A (en) * 2019-09-18 2020-01-17 深圳证券交易所 Automatic document generation method, data processing device, and storage medium
CN111159982A (en) * 2019-12-24 2020-05-15 中信银行股份有限公司 Document editing method and device, electronic equipment and computer readable storage medium
CN111443911A (en) * 2020-03-24 2020-07-24 五八有限公司 Page development method and device, electronic equipment and computer storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1790242A (en) * 2004-08-16 2006-06-21 微软公司 User interface displaying selectable software function control related to selected object on context
US20170052937A1 (en) * 2015-08-21 2017-02-23 Adobe Systems Incorporated Previews for Contextual Searches
US20170308610A1 (en) * 2016-04-25 2017-10-26 Microsoft Technology Licensing, Llc Document Collaboration Discovery
CN107132975A (en) * 2017-05-26 2017-09-05 努比亚技术有限公司 A kind of control editing and processing method, mobile terminal and computer-readable recording medium
CN110705237A (en) * 2019-09-18 2020-01-17 深圳证券交易所 Automatic document generation method, data processing device, and storage medium
CN111159982A (en) * 2019-12-24 2020-05-15 中信银行股份有限公司 Document editing method and device, electronic equipment and computer readable storage medium
CN111443911A (en) * 2020-03-24 2020-07-24 五八有限公司 Page development method and device, electronic equipment and computer storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114841127A (en) * 2022-06-29 2022-08-02 天津联想协同科技有限公司 Layer superposition method and device based on streaming electronic collaboration document

Also Published As

Publication number Publication date
CN113128181B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN106569800B (en) Front-end interface generation method and device
RU2640632C2 (en) Method and device for delivery of information
CN107527619B (en) Method and device for positioning voice control service
CN111339744B (en) Ticket information display method, device and storage medium
CN106547547B (en) data acquisition method and device
CN109144285B (en) Input method and device
CN107515870B (en) Searching method and device and searching device
CN111752598A (en) Page generation method and device, electronic equipment and storage medium
CN110704053A (en) Method and device for processing style information
CN112291614A (en) Video generation method and device
CN110971974B (en) Configuration parameter creating method, device, terminal and storage medium
CN111046210A (en) Information recommendation method and device and electronic equipment
CN110764627A (en) Input method and device and electronic equipment
CN111814088A (en) Page processing method and device
CN111797262A (en) Poetry generation method and device, electronic equipment and storage medium
CN110633391B (en) Information searching method and device
CN113128181B (en) Information processing method and device
CN107179837B (en) Input method and device
CN110457084B (en) Loading method and device
CN113918661A (en) Knowledge graph generation method and device and electronic equipment
CN108804181B (en) Control content obtaining method and device and storage medium
CN113268961A (en) Travel note generation method and device
CN112182449A (en) Page loading method and device, electronic equipment and storage medium
CN113378022A (en) In-station search platform, search method and related device
CN108874172B (en) Input method and device

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
GR01 Patent grant
GR01 Patent grant