CN111027288A - Text editing method and text editing system - Google Patents

Text editing method and text editing system Download PDF

Info

Publication number
CN111027288A
CN111027288A CN201911067438.0A CN201911067438A CN111027288A CN 111027288 A CN111027288 A CN 111027288A CN 201911067438 A CN201911067438 A CN 201911067438A CN 111027288 A CN111027288 A CN 111027288A
Authority
CN
China
Prior art keywords
composable
area
parameter
user
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911067438.0A
Other languages
Chinese (zh)
Inventor
姜崇宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beike Technology Co Ltd
Original Assignee
Beike Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beike Technology Co Ltd filed Critical Beike Technology Co Ltd
Priority to CN201911067438.0A priority Critical patent/CN111027288A/en
Publication of CN111027288A publication Critical patent/CN111027288A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a text editing method, which comprises the following steps: when the composable area in the edited text is in an activated state, monitoring characters input by a user in the composable area to determine whether the characters input by the user in the composable area match with a second limiting parameter of the composable area; wherein the second limiting parameter is used for limiting characters input by the composable area when the composable area is in an activated state; and if the characters input by the user in the composable area are matched with the second limiting parameter of the composable area, accepting and saving the characters input by the user in the composable area. The text editing method can limit the input of characters which do not conform to the limiting parameters, so that the text editing process is automatically monitored.

Description

Text editing method and text editing system
Technical Field
The present invention relates to the field of texts, and in particular, to a text editing method and a text editing system.
Background
In the prior art, text editing is usually performed by using a word or a text editor, and the two tools have no limitation on text input and belong to open text editing tools. In the conventional social work, a description of a static character restriction condition may be attached before and after or right and left of a character to be entered, but there is no direct restriction on the character input. For example, during the entry of a contract, such a problem arises. Specifically, the house property transaction is based on contract signing, and the control requirement on the business before signing is static, so the content control operation is limited only by the rule limitation of a contract template, the content change after signing is still changed and recorded on the basis of online contract copy, and the control operation is finished by institutional constraints. However, the subscribed content control requirements are dynamic. Based on different states of related services such as house resources, finance, capital supervision and the like, the performance of content control is different, the method depends on the posterior verification flow, the cost is high, and the omission caused by manpower cannot be avoided. Once a problem arises, the cost of solution and the legal risk are not insignificant.
Disclosure of Invention
The embodiment of the invention aims to monitor the input of the text in real time and apply the control rule to the text template in advance according to the service requirement. When the text is edited, the control rule can act and reflect the state of the business process in real time.
In order to achieve the above object, in a first aspect of the present invention, there is provided a text editing method, the method including:
when the composable area in the edited text is in an activated state, monitoring characters input by a user in the composable area to determine whether the characters input by the user in the composable area match with a second limiting parameter of the composable area; wherein the second limiting parameter is used to limit characters entered by the user at the composable area when the composable area is in an activated state;
and if the characters input by the user in the composable area are matched with the second limiting parameter of the composable area, accepting and saving the characters input by the user in the composable area.
Optionally, before the user enters the character input in the composable area, the method further comprises:
setting a first restriction parameter for a composable area in the edited text to activate the composable area; and
setting a second restriction parameter for a composable area in the edited text.
Optionally, the second limiting parameter includes a public parameter and an implicit parameter;
the public parameter is a limiting parameter which is displayed when the composable area is clicked and limits the input characters;
the implicit parameter is a restriction parameter that restricts the entered character that is not displayed when the composable area is clicked.
Optionally, the setting a second limitation parameter of the composable area in the edited text includes:
performing simple and/or non-simple operation or combined and/or non-simple operation on the public parameters to determine a second limiting parameter of the composable area;
performing simple and/or non-simple operation or combined and/or non-simple operation on the implicit parameters to determine a second limiting parameter of the composable area;
and performing simple operation or combined operation of AND, OR, NOT or the combination of AND, OR and NOT on the public parameter and the implicit parameter to determine a second limiting parameter of the composable area.
Optionally, the method further includes:
and if the input characters do not match with the second limiting parameter of the composable area, refusing to save the characters input by the user in the composable area.
Optionally, if the composable area in the edited text is not active, the user is denied entry of characters in the composable area.
In a second aspect of the present invention, there is also provided a text editing system, the system comprising:
monitoring means for monitoring characters input by a user in a composable area when the composable area in the edited text is in an activated state to determine whether the characters input by the user in the composable area match a second limiting parameter of the composable area, wherein the second limiting parameter is used for limiting the characters input by the user in the composable area when the composable area is in the activated state;
character accepting means for accepting and saving the character input by the user in the composable area in a case where the character input by the user in the composable area matches the second limitation parameter of the composable area.
Optionally, the system further includes:
a parameter editor for setting a first restriction parameter of a composable area in the edited text to activate the composable area; and setting a second limitation parameter for a composable area in the edited text.
Optionally, the second limiting parameter of the composable area includes a public parameter and an implicit parameter;
the public parameter is a limiting parameter which is displayed when the composable area is clicked and limits the input characters;
the implicit parameter is a restriction parameter that restricts the entered character that is not displayed when the composable area is clicked.
Optionally, the setting a second limitation parameter of the composable area in the edited text includes:
performing simple and/or non-simple operation or combined and/or non-simple operation on the public parameters to determine a second limiting parameter of the composable area;
performing simple and/or non-simple operation or combined and/or non-simple operation on the implicit parameters to determine a second limiting parameter of the composable area;
and performing simple operation or combined operation of AND, OR and not on the public parameter and the implicit parameter respectively to determine a second limiting parameter of the composable area.
Optionally, the character accepting means is further configured to refuse to save the character input by the user in the composable area if the input character does not match the second limitation parameter of the composable area.
Optionally, the character accepting means is further configured to reject the user from entering characters in the composable area if the composable area in the edited text is not in the activated state.
In a third aspect of the present invention, there is also provided a machine-readable storage medium, on which instructions are stored, and when the instructions are executed by a controller, the instructions can cause the controller to execute the text editing method according to any one of the above-mentioned technical solutions.
According to the technical scheme, the limiting parameters are set for the writability area of the text, so that the characters input in the writability area are limited, dynamic monitoring of text input is achieved, and the final input of the text meets the limitation of the limiting parameters.
Additional features and advantages of embodiments of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the embodiments of the invention without limiting the embodiments of the invention. In the drawings:
FIG. 1 is a flow diagram of a method for text editing according to one embodiment of the invention;
fig. 2 is a schematic diagram of a text editing system according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present invention, are given by way of illustration and explanation only, not limitation.
In the embodiments of the present invention, unless otherwise specified, the use of directional terms such as "upper, lower, top, and bottom" is generally used with respect to the orientation shown in the drawings or the positional relationship of the components with respect to each other in the vertical, or gravitational direction.
FIG. 1 is a flow diagram of a method for text editing according to one embodiment of the invention; as shown in fig. 1, in a first aspect of the present invention, there is provided a text editing method, including:
s1) when the composable area in the edited text is in an activated state, listening to characters input by the user in the composable area to determine whether the characters input by the user in the composable area match with the second limiting parameter of the composable area; wherein the second limiting parameter is used to limit characters entered by the user at the composable area when the composable area is in an activated state; the edited text includes: contracts, certificates, etc. require text that limits the characters entered for portions of the composable area therein. The composable area is in an activated state, namely the composable area is clicked by a mouse, or the composable area is in a composable state by other means, and in the composable state, characters can be input to the composable area and the input characters of the composable area are monitored. In this embodiment, the composable area is limited by a second limitation parameter, i.e. not all entered characters can be entered into the composable area. For example, if the second restriction parameter accepts only input of numeric characters, if the user inputs a chinese or english character in the composable area, the composable area does not accept input of the chinese or english character, and the chinese or english character is not displayed in the composable area.
S2) accepting and saving the character entered by the user in the composable area if the entered character matches the second limitation parameter of the composable area. Similarly, as in the example above, if the second limiting parameter limits the size of the input number, for example, the composable area can only input numbers greater than 800, and if 900 is input, the composable area can accept (i.e., can display) and save the input number 900. In the application of the contract text, the embodiment has the effects that the price of the signed contract can be controlled within the range specified by the second limiting parameter, if the input price exceeds the set second limiting parameter, the price cannot be input, the contract cannot be established, and the situation that the misoperation causes serious errors and the like is avoided.
Optionally, before the user enters the character input in the composable area, the method further comprises:
setting a first restriction parameter for a composable area in the edited text to activate the composable area; and setting a second limitation parameter for a composable area in the edited text. The first limiting parameter is used for limiting whether the writable area is in an activated state; the second limiting parameter is only in the active state when the composable area is in the active state.
Optionally, the second limiting parameter includes a public parameter and an implicit parameter; the public parameter is a limiting parameter which is displayed when the composable area is clicked and limits the input characters; when the user is ready to enter characters into the composable area, the actual limiting parameter that the composable area can display is displayed in the drop-down box or the drop-up box of the composable area, e.g., the entered value must be less than 5 ten thousand, which may be displayed as <50,000, and the entered value must be more than 5 thousand, which may be displayed as >5,000.
The implicit parameter is a restriction parameter that restricts the entered character that is not displayed when the composable area is clicked. When the user is ready to input characters into the composable area, the limiting parameter of the composable area is not displayed in the upper or lower frame, but belongs to the limiting parameter. For example, a parameter of whether payment has been made in the contract; when the contract is in a paid status, the editable area is in an editable status, but the parameter of whether the contract is paid is not displayed in the up-pull box or the down-pull box; when the contract is in an unpaid state, the composable area is in an uneditable state, but the parameter of whether payment has been made is not displayed in the drop-up box or the drop-down box.
Optionally, the setting a second limitation parameter of the composable area in the edited text includes:
performing simple and/or non-simple operation or combined and/or non-simple operation on the public parameters to determine a second limiting parameter of the composable area; the public parameter and the implicit parameter may include many parameters, and the second limitation parameter of the composable area may be determined by performing a logical operation on the public parameter, such as an and, or, not, a simple operation. For example, published parameters include: subscription attributes, submission financial audit attributes, broker participation attributes, brand attributes, and the like. If the specific attributes of the disclosed parameters are: signed, not submitted for financial auditing, broker participated, brand belonged, then a simple and, or, not operation may be as follows: the result of the logic operation is 1, which means that the price of the writable area can be more than 800 and less than 2000; if the result of the logical operation is 0, the value of the writable area may be 3000 or more and 5000 or less. The and, or, and not operations are complex logic operations including exclusive or, exclusive and, etc. The above logic operation can be used to perform logic operation on the public parameter to obtain the required second limiting parameter.
Performing simple and/or non-simple operation or combined and/or non-simple operation on the implicit parameters to determine a second limiting parameter of the composable area; the logic operation of the implicit parameter is similar to the logic operation of the above-mentioned public parameter, and is not described herein again.
And performing simple operation or combined operation of AND, OR, NOT or the combination of AND, OR and NOT on the public parameter and the implicit parameter to determine a second limiting parameter of the composable area. And combining the public parameters and the implicit parameters to perform logic operation, thereby obtaining the required second limiting parameters.
Optionally, the method further includes:
and if the input characters do not match with the second limiting parameter of the composable area, refusing to save the characters input by the user in the composable area. If the second restriction parameter is restricted to input chinese characters and the user inputs numbers or english, the input numbers or english cannot be saved by the edited text even though the user can input them in the composable area and display them.
Optionally, when the composable area in the edited text is not active, the user is denied entry of characters in the composable area. The user cannot input characters in the composable area if the composable area is not clicked by the user through a mouse or by other means so that the composable area is not in an activated state.
Fig. 2 is a schematic diagram of a text editing system according to an embodiment of the present invention. As shown in fig. 2, in a second aspect of the present invention, there is also provided a text editing system, the system comprising:
monitoring means for monitoring characters input by a user in a composable area when the composable area in the edited text is in an activated state to determine whether the characters input by the user in the composable area match a second limiting parameter of the composable area, wherein the second limiting parameter is used for limiting the characters input by the user in the composable area when the composable area is in the activated state;
character accepting means for accepting and saving the character input by the user in the composable area in a case where the character input by the user in the composable area matches the second limitation parameter of the composable area.
Optionally, the system further includes:
a parameter editor for setting a first restriction parameter of a composable area in the edited text to activate the composable area; and setting a second limitation parameter for a composable area in the edited text.
Optionally, the second limiting parameter of the composable area includes a public parameter and an implicit parameter;
the public parameter is a limiting parameter which is displayed when the composable area is clicked and limits the input characters;
the implicit parameter is a restriction parameter that restricts the entered character that is not displayed when the composable area is clicked.
Optionally, the setting a second limitation parameter of the composable area in the edited text includes:
performing simple and/or non-simple operation or combined and/or non-simple operation on the public parameters to determine a second limiting parameter of the composable area;
performing simple and/or non-simple operation or combined and/or non-simple operation on the implicit parameters to determine a second limiting parameter of the composable area;
and performing simple operation or combined operation of AND, OR and not on the public parameter and the implicit parameter respectively to determine a second limiting parameter of the composable area.
Optionally, the character accepting means is further configured to refuse to save the character input by the user in the composable area if the input character does not match the second limitation parameter of the composable area.
Optionally, the character accepting means is further configured to reject the user from entering characters in the composable area if the composable area in the edited text is not in the activated state.
In a third aspect of the present invention, there is also provided a machine-readable storage medium, on which instructions are stored, and when the instructions are executed by a controller, the instructions can cause the controller to execute the text editing method according to any one of the above-mentioned technical solutions.
In the technical scheme of the embodiment of the invention, the purpose of limiting the input effect in the writable area is achieved by setting and monitoring the limiting parameters in the writable area of the edited text. By limiting the parameters of the writable area, the edited text, such as contracts and certificates, can be input restrictively, and the purpose of dynamically limiting the input according to the limiting parameters is achieved.
While the embodiments of the present invention have been described in detail with reference to the accompanying drawings, the embodiments of the present invention are not limited to the details of the above embodiments, and various simple modifications can be made to the technical solution of the embodiments of the present invention within the technical idea of the embodiments of the present invention, and the simple modifications are within the scope of the embodiments of the present invention.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, the embodiments of the present invention will not be described separately for the various possible combinations.
Those skilled in the art will appreciate that all or part of the steps in the method for implementing the above embodiments may be implemented by a program, which is stored in a storage medium and includes several instructions to enable a single chip, a chip, or a processor (processor) to execute all or part of the steps in the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In addition, any combination of the various embodiments of the present invention is also possible, and the same should be considered as disclosed in the embodiments of the present invention as long as it does not depart from the spirit of the embodiments of the present invention.

Claims (10)

1. A method of text editing, the method comprising:
when the composable area in the edited text is in an activated state, monitoring characters input by a user in the composable area to determine whether the characters input by the user in the composable area match with a second limiting parameter of the composable area; wherein the second limiting parameter is used to limit characters entered by the user at the composable area when the composable area is in an activated state;
and if the characters input by the user in the composable area are matched with the second limiting parameter of the composable area, accepting and saving the characters input by the user in the composable area.
2. The text editing method of claim 1, wherein prior to character entry by a user in the composable area, the method further comprises:
setting a first restriction parameter for a composable area in the edited text to activate the composable area; and
setting a second restriction parameter for a composable area in the edited text.
3. The text editing method according to claim 2, wherein the second limiting parameter includes a public parameter and an implicit parameter;
the public parameter is a limiting parameter which is displayed when the composable area is clicked and limits the input characters;
the implicit parameter is a restriction parameter that restricts the entered character that is not displayed when the composable area is clicked.
4. The text editing method of claim 3, wherein the setting of the second limitation parameter of the composable area in the edited text comprises:
performing simple and/or non-simple operation or combined and/or non-simple operation on the public parameters to determine a second limiting parameter of the composable area;
performing simple and/or non-simple operation or combined and/or non-simple operation on the implicit parameters to determine a second limiting parameter of the composable area;
and performing simple operation or combined operation of AND, OR, NOT or the combination of AND, OR and NOT on the public parameter and the implicit parameter to determine a second limiting parameter of the composable area.
5. The text editing method of claim 1, wherein the method further comprises:
and if the input characters do not match with the second limiting parameter of the composable area, refusing to save the characters input by the user in the composable area.
6. The text editing method of claim 1, wherein if the composable area in the edited text is not activated, the user is denied entry of characters in the composable area.
7. A text editing system, the system comprising:
monitoring means for monitoring characters input by a user in a composable area when the composable area in the edited text is in an activated state to determine whether the characters input by the user in the composable area match a second limiting parameter of the composable area, wherein the second limiting parameter is used for limiting the characters input by the user in the composable area when the composable area is in the activated state;
character accepting means for accepting and saving the character input by the user in the composable area in a case where the character input by the user in the composable area matches the second limitation parameter of the composable area.
8. The text editing system of claim 7, wherein the system further comprises:
a parameter editor for setting a first restriction parameter of a composable area in the edited text to activate the composable area; and setting a second limitation parameter for a composable area in the edited text.
9. The text editing system of claim 8, wherein the second limiting parameter of the composable area comprises a public parameter and an implicit parameter;
the public parameter is a limiting parameter which is displayed when the composable area is clicked and limits the input characters;
the implicit parameter is a restriction parameter that restricts the entered character that is not displayed when the composable area is clicked.
10. A machine-readable storage medium having stored thereon instructions which, when executed by a controller, are capable of causing the controller to perform the text editing method of any one of claims 1 to 6.
CN201911067438.0A 2019-11-04 2019-11-04 Text editing method and text editing system Pending CN111027288A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911067438.0A CN111027288A (en) 2019-11-04 2019-11-04 Text editing method and text editing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911067438.0A CN111027288A (en) 2019-11-04 2019-11-04 Text editing method and text editing system

Publications (1)

Publication Number Publication Date
CN111027288A true CN111027288A (en) 2020-04-17

Family

ID=70200777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911067438.0A Pending CN111027288A (en) 2019-11-04 2019-11-04 Text editing method and text editing system

Country Status (1)

Country Link
CN (1) CN111027288A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015062511A1 (en) * 2013-10-31 2015-05-07 乐视致新电子科技(天津)有限公司 Smart television cursor control method and device therefor
CN107728995A (en) * 2017-11-28 2018-02-23 北京洪泰同创信息技术有限公司 A kind of technical documentation auxiliary writing system and method
CN107748741A (en) * 2017-11-20 2018-03-02 维沃移动通信有限公司 A kind of method for editing text and mobile terminal
CN109343844A (en) * 2018-10-29 2019-02-15 四川长虹电器股份有限公司 A method of it is compared and is corrected based on Flex bill data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015062511A1 (en) * 2013-10-31 2015-05-07 乐视致新电子科技(天津)有限公司 Smart television cursor control method and device therefor
CN107748741A (en) * 2017-11-20 2018-03-02 维沃移动通信有限公司 A kind of method for editing text and mobile terminal
CN107728995A (en) * 2017-11-28 2018-02-23 北京洪泰同创信息技术有限公司 A kind of technical documentation auxiliary writing system and method
CN109343844A (en) * 2018-10-29 2019-02-15 四川长虹电器股份有限公司 A method of it is compared and is corrected based on Flex bill data

Similar Documents

Publication Publication Date Title
EP3413221A1 (en) Risk assessment method and system
Rogge et al. Modelling dynamic portfolio credit risk
US8156420B2 (en) Form validation with table driven error handling
CN101876970A (en) Method for combining reports and device thereof
Quaglia The politics of state compliance with international “soft law” in finance
CN107678844B (en) Breakpoint intelligent distribution method, electronic device and computer readable storage medium
CN107748952A (en) Prestige checking method, device and storage medium based on consumer&#39;s risk control
US11212241B1 (en) Simulation-based virtual advisor
CN110766545A (en) Bank accounting entry generation method
CN113256408A (en) Risk control method and system based on consumption finance and computer equipment
CN107665204B (en) Method and device for providing form
WO2015161000A1 (en) System for managing multi-party transactions
Briest et al. Innovation speed under uncertainty and competition
CN112734561B (en) Processing method and device for bill mortgage loan
CN111027288A (en) Text editing method and text editing system
US20090222883A1 (en) Method and Apparatus for Confidential Knowledge Protection in Software System Development
CN105589755A (en) Verifying method and system when generating certificate
CN107169767A (en) Correction method and system are rushed in transaction
CN105205720A (en) On-line financing examination and approval method, device and system
CN112633996B (en) Credit order distribution method, computer equipment and readable storage medium thereof
Ciuriak Policy implications of heterogeneous firms trade theory
WO2007070074A2 (en) Check printing system
CN111897883A (en) Entity model construction method and device, electronic equipment and medium
Tsarouhas Structure, Agents and Discourse in Managing Economic Crises: The Case of Greece, 2009-2017
CN117311675B (en) Service configuration method and device related to distributed system and electronic equipment

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