CN107832350B - Method, device, terminal and storage medium for web data bidirectional binding - Google Patents

Method, device, terminal and storage medium for web data bidirectional binding Download PDF

Info

Publication number
CN107832350B
CN107832350B CN201710986260.4A CN201710986260A CN107832350B CN 107832350 B CN107832350 B CN 107832350B CN 201710986260 A CN201710986260 A CN 201710986260A CN 107832350 B CN107832350 B CN 107832350B
Authority
CN
China
Prior art keywords
program
entity
subscription
view
change
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
CN201710986260.4A
Other languages
Chinese (zh)
Other versions
CN107832350A (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.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China 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 Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN201710986260.4A priority Critical patent/CN107832350B/en
Publication of CN107832350A publication Critical patent/CN107832350A/en
Application granted granted Critical
Publication of CN107832350B publication Critical patent/CN107832350B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2358Change logging, detection, and notification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2379Updates performed during online database operations; commit processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2393Updating materialised views

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a method for bidirectionally binding web data, which comprises the following steps: when the monitoring program monitors that the data entity changes, the change is sent to the subscription program; the subscription program sends a view updating instruction to the updating program according to the change; the updating program calls a view updating function to update the view according to the view updating instruction; when the view is modified according to the received modification instruction input by the user, the subscription program calls an entity modification function to modify the data entity. The method comprises the steps of constructing a data entity, a monitoring program and a subscription program in a mode of inheriting a base class, and packaging the two programs in the data entity, so that each group of data entity and a corresponding view are packaged with a group of monitoring program and subscription program, and the problem of blocking and pause during bidirectional binding of large data volume data is solved. The application also provides a device, a terminal, a computer readable storage medium and a computer program product for web data bidirectional binding, which have the beneficial effects.

Description

Method, device, terminal and storage medium for web data bidirectional binding
Technical Field
The present application relates to the field of web models, and in particular, to a method, an apparatus, a terminal, a computer-readable storage medium, and a computer program product for bi-directionally binding web data.
Background
The bidirectional binding, namely the bidirectional binding between the data model (Module) and the View (View), is embodied in that the modification of the View by a user is automatically synchronized into the data model, and similarly, if the value in the data model is changed, the value is immediately synchronized into the View. The most frequent scenario is the operation of the form, and after the user finishes inputting on the front page, the data is automatically stored in the data model without any operation.
In the prior art, operation updating of a User Interface (UI) layer is performed by checking dirty data, all data objects to be monitored are placed in a sequence, triggering is performed when certain specific events occur, for example, a $ digest method is to traverse all watchers, find all elements related to the data through the set data, judge whether the data changes, and execute an instruction if the data changes; the method also comprises hijacking a setting program and an access program of each attribute by using an interface object.defineProperty provided by a browser, and issuing a message to a subscriber to trigger a corresponding callback when data changes.
However, the dirty check requires to construct a sequence of all related elements, and when data or elements change, all elements need to be traversed, especially when processing data with large data volume, it is easy to cause page blocking, and meanwhile, continuous cyclic access to a queue is very costly in performance. When a data hijacking method is used for processing data with large data volume, setting programs and access programs of various attributes are hijacked through interfaces provided by a browsing program, and the page is blocked.
Therefore, how to solve the problem of the seizure occurring when the data with large data volume is bound bidirectionally is a technical problem that needs to be solved by those skilled in the art at present.
Disclosure of Invention
The application aims to provide a method, a device, a terminal, a computer readable storage medium and a computer program product for web data bidirectional binding, and the method can solve the problem of blocking when data with large data volume is bidirectionally bound.
In order to solve the above technical problem, the present application provides a method for bi-directionally binding web data, including:
when the monitoring program monitors that the data entity changes, the change is sent to a subscription program;
the subscription program sends a view updating instruction to the updating program according to the change;
the updating program calls a view updating function to update the view according to the view updating instruction;
when the view is modified according to a received modification instruction input by a user, the subscription program calls an entity modification function to modify the data entity according to the modification instruction;
wherein the data entity is constructed by inheriting an entity base class; the listener and the subscriber are constructed by inheriting a moduleview base class and are encapsulated in the data entity.
Optionally, sending the change to a subscription program includes:
the monitoring program sends the change to a checking program;
the checking program judges whether the subscription program exists in a subscription list or not;
if so, the verification program sends the change to the subscription program.
Optionally, the method further includes:
when the subscription program receives a new entity change function sent by an instruction analysis program, replacing the entity change function with the new entity change function;
the new entity modification function is obtained by analyzing the received modification instruction by the instruction analysis program to obtain a modification parameter and replacing the variable in the function template with the modification parameter.
The present application further provides a device for web data bidirectional binding, which includes:
the monitoring and sending unit is used for calling a monitoring program to monitor a data entity, and sending the change to the subscription program when the data entity is monitored to be changed;
the subscription unit is used for calling the subscription program to send a view updating instruction to the updating program according to the change;
the view updating unit is used for calling the updating program to call a view updating function to update the view according to the view updating instruction;
and the entity changing unit is used for calling the subscription program to call an entity changing function to change the data entity according to the modifying instruction when the view is modified according to the received modifying instruction input by the user.
Optionally, the monitoring and sending unit includes:
the first sending subunit is used for sending the change to the verification program when the change of the data entity is monitored;
the verification subunit is used for calling the verification program to judge whether the subscription program exists in the subscription list;
a second sending subunit, configured to send the change to the subscription program when the subscription program exists in the subscription list.
Optionally, the apparatus further comprises:
a replacing unit, configured to replace, when the subscription program receives a new entity changing function sent by an instruction parser, the entity changing function with the new entity changing function;
the new entity modification function is obtained by analyzing the received modification instruction by the instruction analysis program to obtain a modification parameter and replacing the variable in the function template with the modification parameter.
The present application further provides a terminal, including:
a memory for storing a computer program;
a processor for implementing the following steps when executing the computer program:
when the monitoring program monitors that the data entity changes, the change is sent to a subscription program;
the subscription program sends a view updating instruction to the updating program according to the change;
the updating program calls a view updating function to update the view according to the view updating instruction;
when the view is modified according to a received modification instruction input by a user, the subscription program calls an entity modification function to modify the data entity according to the modification instruction;
wherein the data entity is constructed by inheriting an entity base class; the listener and the subscriber are constructed by inheriting a moduleview base class and are encapsulated in the data entity.
The present application further provides a computer-readable storage medium for bidirectional binding of web data, the computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
when the monitoring program monitors that the data entity changes, the change is sent to a subscription program;
the subscription program sends a view updating instruction to the updating program according to the change;
the updating program calls a view updating function to update the view according to the view updating instruction;
when the view is modified according to a received modification instruction input by a user, the subscription program calls an entity modification function to modify the data entity according to the modification instruction;
wherein the data entity is constructed by inheriting an entity base class; the listener and the subscriber are constructed by inheriting a moduleview base class and are encapsulated in the data entity.
The present application also provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method according to any of the above.
According to the web data bidirectional binding method, when a monitoring program monitors that a data entity changes, the change is sent to a subscription program; the subscription program sends a view updating instruction to the updating program according to the change; the updating program calls a view updating function to update the view according to the view updating instruction; when the view is modified according to a received modification instruction input by a user, the subscription program calls an entity modification function to modify a data entity according to the modification instruction; wherein, the data entity is constructed by inheriting an entity base class; the listener and the subscriber are constructed by inheriting the moduleview base class and are encapsulated in a data entity.
According to the technical scheme, a data entity is constructed by inheriting an entity base class, a monitoring program and a subscription program are constructed by inheriting a modelview base class, and the monitoring program and the subscription program are packaged in the data entity, so that each group of data entity and a corresponding view are packaged with a group of monitoring program and subscription program, when a certain data entity changes, the subscription program corresponding to the data entity sends a view updating instruction to an updating program according to the change, and the updating program calls a view updating function to update the view according to the view updating instruction; when a certain view changes, the corresponding subscription program calls an entity change function to change the data entity according to the change instruction, so that the problem of blocking when data with large data volume is bound bidirectionally is solved. The application also provides a device, a terminal, a computer readable storage medium and a computer program product for web data bidirectional binding. The above beneficial effects are achieved, and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for bidirectional binding of web data according to an embodiment of the present application;
FIG. 2 is a flow chart of an actual representation of S101 in the method for bi-directional binding of web data provided in FIG. 1;
FIG. 3 is a block diagram of an apparatus for bidirectional binding of web data according to an embodiment of the present disclosure;
FIG. 4 is a block diagram of another apparatus for bidirectional binding of web data according to an embodiment of the present disclosure;
fig. 5 is a structural diagram of a terminal for bidirectional binding of web data according to an embodiment of the present application.
Detailed Description
The core of the application is to provide a method, a device, a terminal, a computer readable storage medium and a computer program product for web data bidirectional binding, and the method can solve the problem of blocking when data with large data volume is bidirectionally bound.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for bi-directionally binding web data according to an embodiment of the present disclosure.
The method specifically comprises the following steps:
s101: when the monitoring program monitors that the data entity changes, the change is sent to the subscription program;
the data entity is constructed by inheriting an entity base class, and the monitoring program and the subscription program are constructed by inheriting a moduleview base class and are encapsulated in the data entity, so that the significance of the process is that each group of data entity and corresponding view are encapsulated with one group of monitoring program and subscription program, and each group of monitoring program and subscription program is only responsible for monitoring and modifying the data entity and corresponding view at the position;
since the subclass can have the attribute and the method of the parent class by inheriting the base class object, in the embodiment provided by the application, the entity base class and the moduleview base class are constructed in advance, so that the entity data, the monitoring program and the subscription program can be multiplexed conveniently.
S102: the subscription program sends a view updating instruction to the updating program according to the change;
when the subscription program receives the change of the data entity monitored by the monitor program, the subscription program sends a view updating instruction to the updating program according to the change.
S103: the updating program calls a view updating function to update the view according to the view updating instruction;
when the updating program receives the view updating instruction, calling a view updating function to update the view;
optionally, the view establishment may be implemented by analyzing the received view establishment command by the instruction analysis program, and sending the obtained view type and view establishment instruction to the view update program, where the view update program establishes a view of a corresponding type according to the view type and the view establishment instruction.
S104: and when the view is modified according to the received modification instruction input by the user, the subscription program calls an entity modification function to modify the data entity according to the modification instruction.
Optionally, when the subscription program receives a new entity modification function sent by the instruction parser, the entity modification function may be replaced with the new entity modification function;
the new entity modification function is obtained by analyzing the received modification instruction by the instruction analysis program to obtain a modification parameter and replacing the variable in the function template with the modification parameter;
it should be noted that there is no necessary order relationship between the step S104 and the steps S101 to S103, and the step S104 may be arranged before the steps S101 to S103, and the present application does not specifically limit the order between the step S104 and the steps S101 to S103.
Based on the technical scheme, the method for bidirectionally binding the web data comprises the steps of firstly establishing a data entity by inheriting an entity base class, establishing a monitor program and a subscription program by inheriting a modelview base class, and packaging the monitor program and the subscription program in the data entity, so that each group of data entity and a corresponding view are packaged with one group of the monitor program and the subscription program, when a certain data entity changes, the subscription program corresponding to the data entity sends a view updating instruction to an updating program according to the change, and the updating program calls a view updating function to update the view according to the view updating instruction; when a certain view changes, the corresponding subscription program calls an entity change function to change the data entity according to the change instruction, so that the problem of blocking when data with large data volume is bound bidirectionally is solved.
Referring to fig. 2, fig. 2 is a flowchart illustrating an actual representation of S101 in the method for bi-directionally binding web data provided in fig. 1.
The present embodiment is directed to S101 of the previous embodiment, and a description is made of a specific implementation manner of the content described in S101, where the following is a flowchart shown in fig. 2, and the flowchart specifically includes the following steps:
s201: the monitoring program sends the monitored change of the data entity to the verification program;
when the monitor program monitors the data change, it needs to notify the subscription program, and this needs an intermediate medium, the check program, which is actually an array, to collect the subscription program, and when the data change, it triggers the notification, and then calls an update method of the subscription program.
S202: the checking program judges whether a subscription program exists in the subscription list or not;
if yes, go to step S203;
when the check program receives the change heard among the monitoring programs, the check program judges whether a subscription program exists in the subscription list or not;
alternatively, when creating the subscription program, the subscription program may send an instruction to the verification program to add to the subscription list, and the verification program adds the subscription program to the subscription list according to the instruction.
S203: the verification program sends the change to the subscription program.
When a subscription program is present in the subscription list, the verification program sends the change to the subscription program.
Referring to fig. 3, fig. 3 is a structural diagram of an apparatus for bidirectional binding of web data according to an embodiment of the present application.
The apparatus may include:
a monitoring and sending unit 100, configured to invoke a monitor to monitor a data entity, and send a change to a subscription program when the change of the data entity is monitored;
a subscription unit 200, configured to invoke a subscription program to send a view update instruction to an update program according to the change;
the view updating unit 300 is configured to invoke an updating program to invoke a view updating function to update the view according to the view updating instruction;
and an entity changing unit 400, configured to, when the view is modified according to a modification instruction received from a user, invoke a subscription program to invoke an entity changing function to change the data entity according to the modification instruction.
Referring to fig. 4, fig. 4 is a block diagram of another web data bidirectional binding apparatus according to an embodiment of the present disclosure.
The listening and transmitting unit 100 may include:
the first sending subunit is used for sending the change to the verification program when the change of the data entity is monitored;
the verification subunit is used for calling the verification program to judge whether the subscription list has the subscription program;
and the second sending subunit is used for sending the change to the subscription program when the subscription program exists in the subscription list.
The apparatus may further include:
the replacing unit is used for replacing the entity changing function with a new entity changing function when the subscription program receives the new entity changing function sent by the instruction analysis program;
the new entity modification function is obtained by analyzing the received modification instruction by the instruction analysis program to obtain a modification parameter and replacing the variable in the function template with the modification parameter.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the device provided by the embodiment, the description is relatively simple because the device corresponds to the method provided by the embodiment, and the relevant points can be referred to the method part for description.
Referring to fig. 5, fig. 5 is a structural diagram of a terminal according to an embodiment of the present disclosure.
The terminal comprises a processor, a nonvolatile storage medium, an internal memory, a network interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the terminal is adapted to provide computing and control capabilities. The memory of the terminal comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium of the terminal stores an operating system and computer readable instructions, and the internal memory of the terminal provides an environment for the operating system and the computer readable instructions in the non-volatile storage medium to run. The computer readable instructions, when executed by a processor, implement a method for bi-directional binding of web data. The network interface is used for performing network communication with the server, such as sending an HTTP request to the server, receiving list data returned by the server, and the like. The display screen of the terminal can be a liquid crystal display screen or an electronic ink display screen, and the input device can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on a shell of the terminal, or an external keyboard, a touch pad or a mouse. The terminal can be a mobile phone, a tablet computer, a personal digital assistant or a wearable device. The processor, when executing the computer readable instructions, may perform the steps of:
when the monitoring program monitors that the data entity changes, the change is sent to the subscription program;
the subscription program sends a view updating instruction to the updating program according to the change;
the updating program calls a view updating function to update the view according to the view updating instruction;
when the view is modified according to a received modification instruction input by a user, the subscription program calls an entity modification function to modify a data entity according to the modification instruction;
wherein, the data entity is constructed by inheriting an entity base class; the listener and the subscriber are constructed by inheriting the moduleview base class and are encapsulated in the data entity.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is a block diagram of only a portion of the architecture associated with the subject application, and does not constitute a limitation on the servers to which the subject application applies, as a particular server may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The steps in the method for web data bidirectional binding described in fig. 1 to 2 above are implemented by a terminal for web data bidirectional binding based on the structure shown in fig. 5.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatus, terminal and unit may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus, terminal and method can be implemented in other manners. For example, the above-described terminal embodiments are merely illustrative, and for example, a division of a unit is only one type of division of a logical function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, terminals or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a function call terminal, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, causes the computer to perform the steps of the method for bidirectional binding of web data in the above embodiments of the application.
A method, an apparatus, a terminal, a computer-readable storage medium, and a computer program product for bidirectional binding of web data provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are 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 apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (8)

1. A method for bi-directionally binding web data, comprising:
when the monitoring program monitors that the data entity changes, the change is sent to a subscription program;
the subscription program sends a view updating instruction to the updating program according to the change;
the updating program calls a view updating function to update the view according to the view updating instruction;
when the view is modified according to a received modification instruction input by a user, the subscription program calls an entity modification function to modify the data entity according to the modification instruction;
wherein the data entity is constructed by inheriting an entity base class; the listener and the subscriber are constructed by inheriting a moduleview base class and are encapsulated in the data entity.
2. The method of claim 1, wherein sending the change to a subscribing program comprises:
the monitoring program sends the change to a checking program;
the checking program judges whether the subscription program exists in a subscription list or not;
if so, the verification program sends the change to the subscription program.
3. The method of claim 1, further comprising:
when the subscription program receives a new entity change function sent by an instruction analysis program, replacing the entity change function with the new entity change function;
the new entity modification function is obtained by analyzing the received modification instruction by the instruction analysis program to obtain a modification parameter and replacing the variable in the function template with the modification parameter.
4. An apparatus for bi-directional binding of web data, comprising:
the monitoring and sending unit is used for calling a monitoring program to monitor a data entity, and sending the change to the subscription program when the data entity is monitored to be changed;
the subscription unit is used for calling the subscription program to send a view updating instruction to the updating program according to the change;
the view updating unit is used for calling the updating program to call a view updating function to update the view according to the view updating instruction;
and the entity changing unit is used for calling the subscription program to call an entity changing function to change the data entity according to the modifying instruction when the view is modified according to the received modifying instruction input by the user.
5. The apparatus of claim 4, wherein the listening and sending unit comprises:
the first sending subunit is used for sending the change to the verification program when the change of the data entity is monitored;
the verification subunit is used for calling the verification program to judge whether the subscription program exists in the subscription list;
a second sending subunit, configured to send the change to the subscription program when the subscription program exists in the subscription list.
6. The apparatus of claim 4, further comprising:
a replacing unit, configured to replace, when the subscription program receives a new entity changing function sent by an instruction parser, the entity changing function with the new entity changing function;
the new entity modification function is obtained by analyzing the received modification instruction by the instruction analysis program to obtain a modification parameter and replacing the variable in the function template with the modification parameter.
7. A terminal, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method for web data bidirectional binding according to any of claims 1 to 3 when executing said computer program.
8. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method for bi-directional binding of web data according to any one of claims 1 to 3.
CN201710986260.4A 2017-10-20 2017-10-20 Method, device, terminal and storage medium for web data bidirectional binding Active CN107832350B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710986260.4A CN107832350B (en) 2017-10-20 2017-10-20 Method, device, terminal and storage medium for web data bidirectional binding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710986260.4A CN107832350B (en) 2017-10-20 2017-10-20 Method, device, terminal and storage medium for web data bidirectional binding

Publications (2)

Publication Number Publication Date
CN107832350A CN107832350A (en) 2018-03-23
CN107832350B true CN107832350B (en) 2021-02-02

Family

ID=61648632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710986260.4A Active CN107832350B (en) 2017-10-20 2017-10-20 Method, device, terminal and storage medium for web data bidirectional binding

Country Status (1)

Country Link
CN (1) CN107832350B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563487B (en) * 2018-04-28 2021-10-01 北京小米移动软件有限公司 User interface updating method and device
CN108549570B (en) * 2018-04-28 2021-10-26 北京小米移动软件有限公司 User interface updating method and device
CN108845856B (en) * 2018-06-11 2021-12-14 腾讯科技(深圳)有限公司 Object-based synchronous updating method and device, storage medium and equipment
CN109376163A (en) * 2018-09-18 2019-02-22 广州视源电子科技股份有限公司 A kind of method, apparatus, terminal and the storage medium of data double-way binding
CN110032694A (en) * 2019-03-04 2019-07-19 北京立思辰安科技术有限公司 Form of general use control implementation method suitable for network auditing system
CN110442816B (en) * 2019-07-12 2024-01-30 平安科技(深圳)有限公司 Method and device for configuring web form and computer readable storage medium
CN110598152A (en) * 2019-09-11 2019-12-20 成都安恒信息技术有限公司 JavaScript-based Form event extension method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6631497B1 (en) * 1999-07-19 2003-10-07 International Business Machines Corporation Binding data from data source to cells in a spreadsheet
CN105446740A (en) * 2015-11-27 2016-03-30 国网信息通信产业集团有限公司 MVVM (Model-View-View Model) architecture based Web front-end presentation system
CN105867919A (en) * 2016-03-28 2016-08-17 浙江大学 Front end data bidirectional binding realization method based on accessor hijack
CN106484412A (en) * 2016-09-30 2017-03-08 浙江大学 A kind of two-way binding implementation method of the front end data based on accessor abduction

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6631497B1 (en) * 1999-07-19 2003-10-07 International Business Machines Corporation Binding data from data source to cells in a spreadsheet
CN105446740A (en) * 2015-11-27 2016-03-30 国网信息通信产业集团有限公司 MVVM (Model-View-View Model) architecture based Web front-end presentation system
CN105867919A (en) * 2016-03-28 2016-08-17 浙江大学 Front end data bidirectional binding realization method based on accessor hijack
CN106484412A (en) * 2016-09-30 2017-03-08 浙江大学 A kind of two-way binding implementation method of the front end data based on accessor abduction

Also Published As

Publication number Publication date
CN107832350A (en) 2018-03-23

Similar Documents

Publication Publication Date Title
CN107832350B (en) Method, device, terminal and storage medium for web data bidirectional binding
WO2020192311A1 (en) Master-slave server switching method and apparatus, electronic device and storage medium
EP2747373B1 (en) Method and apparatus for managing audio playing
CN109840418B (en) Jump control method and device for application program, storage medium and terminal
CN106470360B (en) Video player calling method and device
CN105324753A (en) Invoking an application from a web page or other application
US20160224322A1 (en) Dynamic agent delivery
CN109271213A (en) Loading method, device, computer equipment and the storage medium of the HTML5 page
CN104216698A (en) Webpage registration method and relative device
CN105373548B (en) Mobile device and method for customizing event by browser thereof
CN105847446B (en) Method, device and system for acquiring network data
CN108933947B (en) Bullet screen display method and device
US8949930B1 (en) Template representation of security resources
CN105324766B (en) The application control that embedded type web content executes
CN111079040B (en) Resource sniffing method, device, terminal, server and storage medium
CN113141530B (en) Remote control interaction based method and device, electronic equipment and storage medium
CN106959867A (en) Method and system for monitoring application program unloading
CN110543265A (en) Page title bar generation method and device, electronic equipment and storage medium
CN107168648B (en) File storage method and device and terminal
CN107968799B (en) Information acquisition method, terminal equipment and system
CN115292636A (en) H5 page recording method, device and equipment and storage medium
CA2945505C (en) Electronic device and method of searching data records
CN115563156A (en) Method, device and equipment for checking stream data information and storage medium
CN113076728A (en) Data filling method of dialog box and related equipment
CN116136772A (en) Buried point data acquisition 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