CN114398122B - Input method, input device, electronic equipment, storage medium and product - Google Patents

Input method, input device, electronic equipment, storage medium and product Download PDF

Info

Publication number
CN114398122B
CN114398122B CN202111621018.XA CN202111621018A CN114398122B CN 114398122 B CN114398122 B CN 114398122B CN 202111621018 A CN202111621018 A CN 202111621018A CN 114398122 B CN114398122 B CN 114398122B
Authority
CN
China
Prior art keywords
input data
view
control
input
data
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.)
Active
Application number
CN202111621018.XA
Other languages
Chinese (zh)
Other versions
CN114398122A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202111621018.XA priority Critical patent/CN114398122B/en
Publication of CN114398122A publication Critical patent/CN114398122A/en
Application granted granted Critical
Publication of CN114398122B publication Critical patent/CN114398122B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The disclosure provides an input method, an input device, electronic equipment, a storage medium and a product, relates to the technical field of computers, and particularly relates to the technical field of multi-value input. The specific implementation scheme is as follows: responsive to detecting that the first control of the first view is triggered, presenting a second view, the second view including a second control; acquiring input data edited based on the first control or the second control; and synchronously displaying the input data in the first view and the second view. Through the method and the device, double control input can be realized, so that convenient operation is realized, and the layout occupied by the view in the page can be reduced.

Description

Input method, input device, electronic equipment, storage medium and product
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to the field of multi-value input technologies, and in particular, to an input method, an input device, an electronic device, a storage medium, and a product.
Background
The multi-value input means that multiple data can be input simultaneously in the same input container, so that convenient operation is realized. For example, operations such as addition (Create), search (Retrieve), update (Update), and deletion (Delete) at the time of the calculation process are performed, and a live preview can be performed in the input container.
Disclosure of Invention
The present disclosure provides an input method, an input device, an electronic apparatus, a storage medium, and a product.
According to a first aspect of the present disclosure, there is provided an input method, the method comprising:
responsive to detecting that the first control of the first view is triggered, presenting a second view, the second view including a second control; acquiring input data edited based on the first control or the second control; and synchronously displaying the input data in the first view and the second view.
According to a second aspect of the present disclosure, there is provided an input device, the device comprising: the display module is used for responding to the detection that the first control of the first view is triggered, displaying the second view, wherein the second view comprises the second control; the acquisition module is used for acquiring input data edited based on the first control or the second control; and the display module is also used for synchronously displaying the input data in the first view and the second view.
According to a third aspect of the present disclosure, there is provided an electronic device comprising:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the first aspect.
According to a fourth aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method according to the first aspect.
According to a fifth aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the method according to the first aspect.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a flow chart of an input method according to an embodiment of the disclosure;
FIG. 2 is a flow chart of an input method according to an embodiment of the disclosure;
FIG. 3 is a schematic diagram of a first view of an input method provided by an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a first view of an input method provided by an embodiment of the present disclosure;
FIG. 5 illustrates a schematic diagram of a second view of an input method provided by an embodiment of the present disclosure;
FIG. 6 illustrates a schematic diagram of a second view of an input method provided by an embodiment of the present disclosure;
FIG. 7 is a flow chart of an input method according to an embodiment of the disclosure;
FIG. 8 is a schematic diagram of a model structure of an input method according to an embodiment of the disclosure;
FIG. 9 is a flow chart of an input method according to an embodiment of the disclosure;
FIG. 10 is a schematic diagram of an input device according to an embodiment of the disclosure;
fig. 11 is a block diagram of an electronic device for implementing an input device of an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the related art, the input multi-value component technology can be realized in a relatively small container of a limited page, and multiple operation binding same container is directly or indirectly configured to perform convenient operation. For example, operations such as adding, searching, updating and deleting during calculation processing can be performed, and real-time preview can be performed in the input container, so that the purpose of large carrier of the small container can be realized, and the occupied page layout of the container is reduced.
In the page interaction of the internet, the pages are used as content carriers, and a large amount of valuable information needs to be carried in limited page layouts. In general, in one approach, pages can carry more information by scrolling wirelessly in a relatively small inputtable container. In another approach, the importable container may be enlarged. But wireless scrolling can increase the complexity of the operation and enlarging the importable container can result in excessive occupancy of the page layout.
Based on the problems involved in the foregoing embodiments, the present disclosure provides an input method, by adopting dual-control input, in the case that all input data can be previewed, the inputtable container occupies a smaller page layout, so that the convenience of operation can be improved.
Fig. 1 shows a flowchart of an input method provided by an embodiment of the disclosure, as shown in fig. 1, the method may include:
in step S110, in response to detecting that the first control of the first view is triggered, a second view is presented.
In an embodiment of the present disclosure, the second view includes a second control. The first view may be an inputtable container, presented in the page in the form of an input box. The first view may be used to carry input data and may also be used to preview input data. Further, if the first view is presented in the page in the form of an input box, data may be input based on the input box and the input data may be previewed in the input box.
In the present disclosure, upon detecting a click operation on the first view, the second view is sprung up.
In step S120, input data edited based on the first control or the second control is acquired.
In the present disclosure, the second view includes a preview page and a second control that may be used to edit the input data or modify the data input. The preview page is used to preview the entire content of the input data. The first view includes a first control that can edit and/or input data, as well as preview data that has been input. In the present disclosure, the input data may be edited by the first control or the second control. The editing mode can be text, voice and the like.
In step S130, the input data is synchronously displayed in the first view and the second view.
In the present disclosure, after the edited input data is obtained, the input data is aggregated and stored, and then the input data is synchronized into the first view and the second view. In other words, the edited input data is displayed in the preview page of the first view and the second view at the same time.
By the input method provided by the disclosure, double control input can be realized, so that convenient operation is realized, and the layout occupied by the view in the page can be reduced.
The following embodiments will explain acquisition of input data edited based on the first control or the second control.
Fig. 2 shows a flow chart of an input method provided by an embodiment of the disclosure, and as shown in fig. 2, the method may include:
in step S210, in response to detecting the event trigger activation, a control that edits the input data is determined among the first control and the second control.
In an embodiment of the present disclosure, configuration information for implementing dual control input includes a view layer, a view model layer (vm), and a data layer. The view layer comprises a first view and a second view and is used for displaying edited data. The view model layer is used for accepting the view layer and the data layer.
In the present disclosure, the view model may receive input data and forward the input data. And the view model layer further includes event triggers. After editing the input data is completed, the trigger operation may trigger the start event trigger. And determining that the event trigger is started, and further determining a control for editing the input data in the first control and the second control.
In the present disclosure, the operation of triggering the start event trigger may be a carriage return operation, may be a position where a cursor is to be moved, or may be editing a space.
In step S220, input data is acquired in a control that edits the input data based on the view model.
In the embodiment of the disclosure, the view model layer detects that the event trigger is triggered, and if the input data edited in the first control is determined, the edited input data is acquired in the first control based on the view model. And if the edited input data in the second control is determined, acquiring the edited input data in the second control based on the view model.
In the embodiment of the disclosure, after the view model layer acquires the input data, the input data is sent to the data layer, after the data layer performs aggregation storage, the input data is resent to the view model layer, and the view model layer sends the input data to the view of the unedited input data, so that synchronous display of the double-control views is realized.
For example, fig. 3 shows a schematic diagram of a first view of an input method according to an embodiment of the disclosure, and as shown in fig. 3, a user edits input data, for example, tag1, based on a first control of the first view. By triggering operation, the completion of editing is determined, and the input data tag1 appears in the preview interfaces of the first view and the second view. As shown, the single control view V1 is the first view in the disclosure.
Fig. 4 is a schematic diagram of a first view of an input method according to an embodiment of the disclosure, where, as shown in fig. 4, if input data edited by a user is multiple, part of the input data is displayed in the first view, and all of the input data is displayed in a preview page of the second view. As shown, the single control view V1 is the first view in the disclosure.
Fig. 5 is a schematic diagram of a second view of an input method provided by an embodiment of the present disclosure, as shown in fig. 5, a user may further edit input data, for example, tag11, in a second control, and by triggering an operation, it is determined that editing is completed, and then tag11 is displayed in preview pages of the first view and the second view simultaneously, as shown in fig. 6, and fig. 6 is a schematic diagram of the second view of the input method provided by the embodiment of the present disclosure. As shown in fig. 5, the single control view V2 is a second control of the second view in the present disclosure.
Fig. 7 shows a flowchart of an input method provided by an embodiment of the disclosure, as shown in fig. 7, the method may include:
in step S310, the input data is aggregated and stored to obtain the position of the input data in the control for editing the input data.
In the embodiment of the disclosure, the data layer aggregates and stores the input data to obtain the position of the input data in the control for editing the input data. And retransmitting the input data after aggregation storage to the view model layer.
In step S320, the difference between the stored input data of the first control and the stored input data of the second control is compared, the input data is stored in the control of the non-edited input data, and the position of the input data in the control of the non-edited input data is determined.
In an embodiment of the disclosure, after the view layer receives the input data sent by the data layer, the difference between the stored data of the first control and the stored data of the second control is compared. In the present disclosure, a diff algorithm may be used to compare differences between the first control stored data and the second control stored data.
After fusion storage is carried out on the input data, differences between the stored data of the first control and the stored data of the second control are determined, and positions of the input data in the non-editing input data control are determined.
In step S330, the input data is synchronously updated and displayed in the first view and the preview page based on the position.
In the present disclosure, after comparing the differences, input data that needs to be updated is determined, the input data that needs to be updated is transferred to the view layer, and added to a position corresponding to the view layer, that is, updated to a control of non-editing input data. Finally, all input data is presented in the first view and preview page.
Fig. 8 illustrates a schematic diagram of a model structure of an input method provided by an embodiment of the present disclosure, and as illustrated in fig. 8, a user may edit input data, such as input data tag1 and input data tag2, based on an inputtable container. And synchronously displaying the input data tag1 and the input data tag2 in the first view and the second view through interaction among the view layer, the view model layer and the data layer. The first view and the second view use the same data layer, so that the input data displayed by the first view and the second view can be synchronized.
The view model layer added by the method can accept the view layer and the data layer, and the input data can be bound with the double-control view in a bidirectional mode through the input data passing between the view layer, the view model layer and the data layer.
Fig. 9 shows a flowchart of an input method provided by an embodiment of the disclosure, as shown in fig. 9, the method may include:
in step S410, modified input data and a modification position are determined in response to detecting a modification operation on the input data in the first view or the second view.
In the embodiment of the disclosure, the input data may be modified, and the modification operation may be operations such as adding, deleting, and adjusting the input data position. In the present disclosure, the modification operation may be performed on the inputted data based on the first control, or may be performed on the inputted data based on the second view. If a modification operation to the inputted data is detected, the modified inputted data and the modified location are determined.
In step S420, the modified input data is synchronously updated to the first view and the preview page according to the modification position.
In an embodiment of the present disclosure, a control for performing a modification operation is determined, modified input data is acquired, and a location of the modified input data is determined. And synchronously updating the modified input data into another control according to the modification position, and displaying all final input data based on the first view and the preview page. The first view shows that the layout of the input data is limited, and if all the data contents need to be previewed, all the edited input data need to be viewed by sliding up and down or left and right in the first control. And the preview page in the second view can show all the edited input data without sliding operation.
In the embodiment of the disclosure, if the modification operation is to adjust the position of the input data, the user can directly drag the input data adjusted as required to the designated position. If drag on the input data is detected, a modification operation is determined to adjust the position of the input data, and input data of which the position is changed, and a movement track of the input data of which the position is changed are determined. And according to the moving track, the input data with changed positions is moved to the corresponding positions, and synchronously updated to the first view and the preview page.
In an embodiment of the present disclosure, the input data includes at least one set of data, each set of input data including a corresponding delete identifier. If the modification operation is to delete the input data, the deletion identifier corresponding to the input data can be touched. In response to detecting that the deletion identifier is touched, the input data corresponding to the touched deletion identifier is deleted, so that the corresponding input data can be deleted.
In the disclosed embodiment, the second view is presented in the page in the form of a floating window.
Based on the same principle as the method shown in fig. 1, fig. 10 shows a schematic structural diagram of an input device provided by an embodiment of the present disclosure, and as shown in fig. 10, the input device 100 may include:
a presentation module 101, configured to, in response to detecting that a first control of a first view is triggered, present a second view, where the second view includes a second control; an obtaining module 102, configured to obtain input data edited based on the first control or the second control; the display module 101 is further configured to display the input data in the first view and the second view synchronously.
The acquiring module 102 is configured to determine, in response to detecting that the event trigger is started, a control for editing the input data from the first control and the second control; and acquiring the input data based on a view model.
Wherein the second view further comprises a preview page; the display module 101 is configured to aggregate and store the input data to obtain a position of the input data in a control for editing the input data; comparing the difference between the stored data of the first control and the stored data of the second control, storing the input data in the control of the non-editing input data, and determining the position of the input data in the control of the non-editing input data; based on the location, the input data update is displayed in a first view and a preview page.
The presentation module 101 is further configured to determine modified input data and a modification location in response to detecting a modification operation on the input data in the first view or the preview page; synchronously updating the modified input data to a first view and a preview page according to the modification position; the preview page of the second view is used for displaying all edited input data.
The presentation module 101 is further configured to determine input data of which the position is changed, and determine a movement track of the input data of which the position is changed, in response to the modification operation to adjust the position of the input data; and according to the moving track, moving the input data with changed positions to corresponding positions, and synchronously updating the input data to the first view and the preview page.
The input data comprises at least one group of data, and each group of input data comprises a corresponding deletion identifier;
the display module 101 is further configured to delete input data corresponding to the delete identifier that is touched in response to detecting that the delete identifier is touched.
The second view is presented in the page in the form of a floating window.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the related user personal information all conform to the regulations of related laws and regulations, and the public sequence is not violated.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
FIG. 11 illustrates a schematic block diagram of an example electronic device 200 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 2, the apparatus 200 includes a computing unit 201 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 202 or a computer program loaded from a storage unit 208 into a Random Access Memory (RAM) 203. In the RAM 203, various programs and data required for the operation of the device 200 can also be stored. The computing unit 201, ROM 202, and RAM 203 are connected to each other through a bus 204. An input/output (I/O) interface 205 is also connected to bus 204.
Various components in device 200 are connected to I/O interface 205, including: an input unit 206 such as a keyboard, a mouse, etc.; an output unit 207 such as various types of displays, speakers, and the like; a storage unit 208 such as a magnetic disk, an optical disk, or the like; and a communication unit 209 such as a network card, modem, wireless communication transceiver, etc. The communication unit 209 allows the device 200 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The computing unit 201 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of computing unit 201 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 201 performs the respective methods and processes described above, for example, a method input method. For example, in some embodiments, the method input method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 208. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 200 via the ROM 202 and/or the communication unit 209. When the computer program is loaded into the RAM 203 and executed by the computing unit 201, one or more steps of the method input method described above may be performed. Alternatively, in other embodiments, the computing unit 201 may be configured to perform the method input method by any other suitable means (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel, sequentially, or in a different order, provided that the desired results of the disclosed aspects are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (12)

1. An input method, the method comprising:
responsive to detecting that the first control of the first view is triggered, presenting a second view, the second view including a second control;
acquiring input data edited based on the first control or the second control;
synchronously displaying the input data in a first view and a second view;
the obtaining input data edited based on the first control or the second control includes:
in response to detecting the event trigger activation, determining a control for editing the input data in the first control and the second control;
acquiring input data from the control for editing the input data based on a view model;
the second view further includes a preview page;
the step of synchronously displaying the input data in the first view and the second view comprises the following steps:
aggregating and storing the input data to obtain the position of the input data in the control for editing the input data;
comparing the difference between the stored input data of the first control and the stored input data of the second control, storing the input data in a control of non-editing input data, and determining the position of the input data in the control of non-editing input data;
based on the position, the input data is synchronously updated and displayed in a first view and a preview page.
2. The method of claim 1, the method further comprising:
determining modified input data and a modification position in response to detecting a modification operation to the input data in the first view or the second view;
and synchronously updating the modified input data to the first view and the preview page according to the modification position.
3. The method of claim 2, the method further comprising:
determining input data of which the position is changed in response to the modification operation to adjust the position of the input data, and determining a movement track of the input data of which the position is changed;
and according to the moving track, moving the input data with changed positions to corresponding positions, and synchronously updating the input data to the first view and the preview page.
4. The method of claim 1, the input data comprising at least one set of data, each set of the input data comprising a corresponding delete identity;
the method further comprises the steps of:
and in response to detecting that the deletion identifier is touched, synchronously deleting the input data corresponding to the touched deletion identifier in the first view and the second view.
5. The method of claim 1, the second view being presented in a page in the form of a floating window.
6. An input device, the device comprising:
the display module is used for responding to the detection that the first control of the first view is triggered, displaying the second view, wherein the second view comprises the second control;
the acquisition module is used for acquiring input data edited based on the first control or the second control;
the display module is also used for synchronously displaying the input data in the first view and the second view;
the acquisition module is used for:
in response to detecting the event trigger activation, determining a control for editing the input data in the first control and the second control;
acquiring the input data based on a view model;
the second view further includes a preview page;
the display module is used for:
aggregating and storing the input data to obtain the position of the input data in a control for editing the input data;
comparing the difference between the stored data of the first control and the stored data of the second control, storing the input data in the control of the non-editing input data, and determining the position of the input data in the control of the non-editing input data;
based on the location, the input data update is displayed in a first view and a preview page.
7. The apparatus of claim 6, the display module further to:
in response to detecting a modification operation to the input data in the first view or preview page, determining modified input data and a modification location;
synchronously updating the modified input data to a first view and a preview page according to the modification position;
the preview page of the second view is used for displaying all edited input data.
8. The apparatus of claim 7, the display module further to:
determining input data of which the position is changed in response to the modification operation to adjust the position of the input data, and determining a movement track of the input data of which the position is changed;
and according to the moving track, moving the input data with changed positions to corresponding positions, and synchronously updating the input data to the first view and the preview page.
9. The apparatus of claim 6, the input data comprising at least one set of data, each set of the input data comprising a corresponding delete identification;
the display module is further configured to:
and deleting the input data corresponding to the deleting identification which is touched in response to detecting that the deleting identification is touched.
10. The device of claim 6, the second view being presented in a page in the form of a floating window.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-5.
CN202111621018.XA 2021-12-27 2021-12-27 Input method, input device, electronic equipment, storage medium and product Active CN114398122B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111621018.XA CN114398122B (en) 2021-12-27 2021-12-27 Input method, input device, electronic equipment, storage medium and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111621018.XA CN114398122B (en) 2021-12-27 2021-12-27 Input method, input device, electronic equipment, storage medium and product

Publications (2)

Publication Number Publication Date
CN114398122A CN114398122A (en) 2022-04-26
CN114398122B true CN114398122B (en) 2023-08-29

Family

ID=81229655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111621018.XA Active CN114398122B (en) 2021-12-27 2021-12-27 Input method, input device, electronic equipment, storage medium and product

Country Status (1)

Country Link
CN (1) CN114398122B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105988778A (en) * 2015-01-28 2016-10-05 阿里巴巴集团控股有限公司 Page setting method and device
CN108196756A (en) * 2018-01-30 2018-06-22 百度在线网络技术(北京)有限公司 Method, apparatus, storage medium and the terminal device of instant messaging interface input switching
CN111866571A (en) * 2020-06-30 2020-10-30 北京小米移动软件有限公司 Method and device for editing content on smart television and storage medium
CN112528608A (en) * 2020-12-21 2021-03-19 北京百度网讯科技有限公司 Page editing method and device, electronic equipment and storage medium
CN113672149A (en) * 2021-06-29 2021-11-19 珠海金山办公软件有限公司 View display method and device, electronic equipment and computer storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020000263A1 (en) * 2018-06-27 2020-01-02 华为技术有限公司 Method and device for calling input method, and server and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105988778A (en) * 2015-01-28 2016-10-05 阿里巴巴集团控股有限公司 Page setting method and device
CN108196756A (en) * 2018-01-30 2018-06-22 百度在线网络技术(北京)有限公司 Method, apparatus, storage medium and the terminal device of instant messaging interface input switching
CN111866571A (en) * 2020-06-30 2020-10-30 北京小米移动软件有限公司 Method and device for editing content on smart television and storage medium
CN112528608A (en) * 2020-12-21 2021-03-19 北京百度网讯科技有限公司 Page editing method and device, electronic equipment and storage medium
CN113672149A (en) * 2021-06-29 2021-11-19 珠海金山办公软件有限公司 View display method and device, electronic equipment and computer storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种基于MCU的图形组态设计研究;韩文兴;赵洋;陈达其;李昆;;南华大学学报(自然科学版)(第04期);全文 *

Also Published As

Publication number Publication date
CN114398122A (en) 2022-04-26

Similar Documents

Publication Publication Date Title
CN108196920B (en) Display processing method and device of UI (user interface)
US8810576B2 (en) Manipulation and management of links and nodes in large graphs
KR101794373B1 (en) Temporary formatting and charting of selected data
US20170220595A1 (en) Recurring calendar item master and instance synchronization
CN108287925B (en) Method and device for displaying page elements
US20230115491A1 (en) Information presentation method and apparatus, electronic device, and storage medium
US20150169502A1 (en) Touch-based reorganization of page element
US10621271B2 (en) Reordering a multi-level layout using a hierarchical tree
US9952838B2 (en) Methods, systems, and computer readable media for generating a visual overlay
CN104951497A (en) Method and apparatus for constructing documents
US9766860B2 (en) Dynamic source code formatting
CN109145272B (en) Text rendering and layout method, device, equipment and storage medium
KR20160125401A (en) Inline and context aware query box
US20230012642A1 (en) Method and device for snapshotting metadata, and storage medium
CN110992112A (en) Method and device for processing advertisement information
US9612734B1 (en) Random access browser scrolling for large pages
CN114327057A (en) Object selection method, device, equipment, medium and program product
EP3008697B1 (en) Coalescing graphics operations
CN114398122B (en) Input method, input device, electronic equipment, storage medium and product
CN107621951A (en) A kind of method and device of view Hierarchical Optimization
US20220269659A1 (en) Method, device and storage medium for deduplicating entity nodes in graph database
CN114519153B (en) Webpage history record display method, device, equipment and storage medium
CN115878935A (en) Local refreshing method, system, device, equipment and medium of chart
CN113656533A (en) Tree control processing method and device and electronic equipment
CN115454971A (en) Data migration method and device, electronic equipment and storage medium

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