CN110321464B - Method and device for updating page view based on unidirectional data flow - Google Patents

Method and device for updating page view based on unidirectional data flow Download PDF

Info

Publication number
CN110321464B
CN110321464B CN201910467073.4A CN201910467073A CN110321464B CN 110321464 B CN110321464 B CN 110321464B CN 201910467073 A CN201910467073 A CN 201910467073A CN 110321464 B CN110321464 B CN 110321464B
Authority
CN
China
Prior art keywords
updating
data
page
update
asynchronous
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
CN201910467073.4A
Other languages
Chinese (zh)
Other versions
CN110321464A (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.)
Nanjing suningjia e-commerce Co., Ltd
Original Assignee
Nanjing Suningjia E Commerce 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 Nanjing Suningjia E Commerce Co ltd filed Critical Nanjing Suningjia E Commerce Co ltd
Priority to CN201910467073.4A priority Critical patent/CN110321464B/en
Publication of CN110321464A publication Critical patent/CN110321464A/en
Application granted granted Critical
Publication of CN110321464B publication Critical patent/CN110321464B/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/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9038Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and a system for updating a page view based on unidirectional data flow, wherein the method comprises the following steps: the page view layer calls a corresponding updating state action in the intermediate proxy layer according to the page updating request; generating an updating task according to the action of the updating state, and adding the updating task into an asynchronous updating queue; the scheduler pulls the asynchronous update queue, and performs page data update on the data layer according to the asynchronous update queue; and the data layer pushes the updating data to the page view layer after updating the page data, and the page view layer updates the page according to the updating data. The invention adopts the idea of unidirectional data flow, ensures the clearness of the flow, is convenient to maintain and can predict, restricts all state changes to the intermediate agent layer, modifies the uniform data source, and redistributes the data source from top to bottom, reduces the cost of state/attribute transmission, and fundamentally stops state oscillation.

Description

Method and device for updating page view based on unidirectional data flow
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for updating a page view based on unidirectional data flow.
Background
The speed of the front-end technology iteration is fast, and when the Model-View-View Model (mvvm) goes on the way, the frames encapsulate complex dom operation in the prior art to a certain extent, and the use threshold is also reduced. Constrained data flow and transfer may have little side effect when dealing with small-scale applications, but the one-level state/attribute transfer is extremely cumbersome and inefficient as the project size grows. In addition, in a relatively complex service scene, the problems of disordered code structure, poor readability, disordered data flow and the like can be encountered, and the later maintenance cost is exponentially increased along with the stacking of services.
Disclosure of Invention
In order to solve the problems in the prior art, an embodiment of the present invention provides a method for updating a page view based on a unidirectional data stream, so as to overcome the problems in the prior art that in a relatively complex service scenario, a code structure is disordered, readability is poor, a data stream is disordered, and a post-maintenance cost increases exponentially along with service stacking.
In order to solve one or more technical problems, the invention adopts the technical scheme that:
in one aspect, a method for updating a page view based on unidirectional data flow is provided, and the method includes the following steps:
the page view layer calls a corresponding updating state action in the intermediate proxy layer according to the page updating request;
generating an updating task according to the action of the updating state, and adding the updating task into an asynchronous updating queue;
the scheduler pulls the asynchronous update queue, and performs page data update on a data layer according to the asynchronous update queue;
and pushing update data to the page view layer after the data layer updates the page data, and updating the page by the page view layer according to the update data.
Further, the generating an update task according to the action of the update state includes:
and judging whether the actions in the updating state are asynchronous operations, if so, sequentially generating corresponding updating tasks for the actions in the updating state, and otherwise, combining the actions in the updating state to generate one updating task.
Further, the scheduler pulling the asynchronous update queue comprises:
setting an upper limit of an internal clock or an asynchronous update queue, and pulling the asynchronous update queue by the scheduler after the internal clock expires or the asynchronous update queue reaches the upper limit.
Further, before the page view layer updates the page according to the update data, the method further includes:
and the page view layer compares whether the updating data is consistent with the current page data, if not, the updating data is received, and the page is updated, otherwise, the page is not updated.
Further, the method further comprises:
and after the updating task is added into the asynchronous updating queue, sending a notification of updating the asynchronous updating queue to the scheduler.
In another aspect, a system for updating a page view based on unidirectional data flow is provided, the system including:
the action acquisition module is used for calling the corresponding action of the updating state in the intermediate proxy layer by the page view layer according to the page updating request;
the task generation module is used for generating an update task according to the action of the update state and adding the update task into an asynchronous update queue;
the first updating module is used for the dispatcher to pull the asynchronous updating queue and update page data of a data layer according to the asynchronous updating queue;
the data pushing module is used for pushing update data to the page view layer after the data layer updates page data;
and the second updating module is used for updating the page according to the updating data by the page view layer.
Further, the task generating module includes:
the action judging unit is used for judging whether the action of the updating state is asynchronous operation;
and the task generating unit is used for sequentially generating corresponding updating tasks for the actions in the updating state if the actions in the updating state are asynchronous operation, and otherwise, combining the actions in the updating state to generate an updating task.
Further, the first updating module comprises:
a basic setting unit for setting an upper limit of an internal clock or an asynchronous update queue;
a condition judging unit, configured to judge whether the internal clock expires or whether the asynchronous update queue reaches an upper limit;
and the task pulling unit is used for pulling the asynchronous update queue by the scheduler.
Further, the second updating module includes:
the data comparison unit is used for comparing whether the updated data is consistent with the current page data or not by the page view layer;
and the page updating unit is used for receiving the updating data and updating the page if the updating data is inconsistent with the current page data.
Further, the task generating module further includes:
and the task notification unit is used for sending a notification of updating the asynchronous update queue to the scheduler after the update task is added into the asynchronous update queue.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
1. the page view updating method and system based on the unidirectional data flow provided by the embodiment of the invention adopt the idea of the unidirectional data flow, so that any adjacent part can not generate bidirectional flow of data, the clarity of the flow is ensured, the maintenance is convenient and the prediction can be realized;
2. according to the page view updating method and system based on the unidirectional data flow, the unidirectional data flow idea is adopted, all state changes are restricted to be carried out in an intermediate agent layer (actor (s)), a unified data source is modified, and then the data source is redistributed from top to bottom, so that the state/attribute transmission cost is reduced, and state oscillation is fundamentally avoided;
3. according to the page view updating method and system based on the unidirectional data flow, provided by the embodiment of the invention, data is separated from a react (Java Script library used for constructing a user interface), and all components can be stateless components, so that the rendering performance can be further improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow diagram illustrating a method for updating a page view based on unidirectional data flow in accordance with an exemplary embodiment;
FIG. 2 is a block diagram illustrating a unidirectional data flow based page view update system in accordance with an exemplary embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
In the embodiment of the invention, the idea of unidirectional data flow is adopted, the logic of view (data) updating is separated, and the view (data) is uniformly scheduled by an Actor. When a user accesses the page view, the user interaction action is sent out in the page, and the action is used for correspondingly updating the corresponding state data. And after the state is updated, triggering the update of the page view. This allows data to always flow in one direction clearly, which is convenient for maintenance and predictable.
Fig. 1 is a flowchart illustrating a page view updating method based on unidirectional data flow according to an exemplary embodiment, and referring to fig. 1, the method includes the following steps:
s1: and the page view layer calls the corresponding action of the update state in the intermediate proxy layer according to the page update request.
Specifically, when a user accesses a page View layer (View), an interaction behavior (i.e., a page update request) of the user occurs in the page View layer, and the page View layer appoints an intermediate proxy layer (actor (s)) to initiate an update, that is, the page View layer calls a corresponding update state action in the intermediate proxy layer, and the action is used to perform corresponding update on corresponding state data. It should be noted that, in the embodiment of the present invention, several different actions of updating the state are preset in the middle proxy layer, for example, action 1(action1) of the updating state is an updating page counter count, and action 2(action2) of the updating state is an updating page counter count and name, each action of the updating state corresponds to updating one or a group of state data, and when a user accesses a page View layer (View), the user only needs to invoke the action of the corresponding updating state in the middle proxy layer according to a page updating request. All state changes are restricted to the intermediate proxy layer (actor (s)) for processing, a user can modify a uniform data source in the intermediate proxy layer, namely, data on the data layer (store) is modified and then redistributed from top to bottom, so that the cost of state/attribute transmission is reduced, state shock is fundamentally avoided, and a page senses the data changes and refreshes the data.
S2: and generating an updating task according to the action of the updating state, and adding the updating task into an asynchronous updating queue.
Specifically, as a preferred implementation manner, in the embodiment of the present invention, a middleware is disposed between the page view layer and the intermediate agent layer, and a flexible and refreshing middleware mechanism can enable a user to more conveniently add the expansion requirement needed by the user without invading a code. And the action of updating the state firstly passes through the middleware, then an updating task is generated according to the action of updating the state, the updating task is added into the asynchronous updating queue, and the corresponding updating of the page is waited to be executed subsequently.
S3: and the scheduler pulls the asynchronous update queue and updates the page data of the data layer according to the asynchronous update queue.
Specifically, in order to ensure that the update tasks in the asynchronous update queue can be executed at regular time, in the embodiment of the invention, a scheduler pulls the asynchronous update queue to obtain the update tasks in the asynchronous update queue, and a data layer monitors the task scheduler and executes the update tasks in sequence to update the page data of the data layer after receiving the update tasks sent by the scheduler.
S4: and pushing update data to the page view layer after the data layer updates the page data, and updating the page by the page view layer according to the update data.
Specifically, after the data layer performs page data update each time, the latest update data is released to a subscriber (namely, the page view layer), the update data is verified before the page view layer triggers view update, and the page is updated according to the update data only after verification is passed. At this time, the unidirectional data stream forms a closed loop.
As a preferred implementation, in an embodiment of the present invention, the generating an update task according to the action of the update status includes:
judging whether the action of the updating state is asynchronous operation, if so, sequentially generating corresponding updating tasks for the action of the updating state, otherwise, performing synchronous operation, combining the actions of the updating state to generate one updating task, thus avoiding page shaking and refreshing, because each state updating triggers page updating and the combined operation is refreshed only once, and improving the performance.
Specifically, before generating the update task, it is first determined whether the action of the update state is asynchronous operation. And if the asynchronous operation is carried out, respectively generating corresponding updating tasks for the actions in the updating state in sequence, and then adding the updating tasks into the asynchronous updating queue. If the operation is not asynchronous operation, the merged fragmented update is carried out, namely a plurality of actions of the update state are merged, then an update task is generated, and finally the update task is added into the asynchronous update queue.
As a preferred implementation, in an embodiment of the present invention, the pulling, by the scheduler, the asynchronous update queue includes:
setting an upper limit of an internal clock or an asynchronous update queue, and pulling the asynchronous update queue by the scheduler after the internal clock expires or the asynchronous update queue reaches the upper limit.
Specifically, some preset conditions may be set to trigger the scheduler to pull the asynchronous update queue, and in the embodiment of the present invention, the preset conditions are set to trigger the scheduler to pull the asynchronous update queue according to the expiration of the internal clock or the arrival of the upper limit of the asynchronous update queue, so that data (i.e., update tasks) can be prevented from being squeezed too much.
As a preferred implementation manner, in the embodiment of the present invention, before the page view layer updates the page according to the update data, the method further includes:
and the page view layer compares whether the updating data is consistent with the current page data, if not, the updating data is received, and the page is updated, otherwise, the page is not updated.
Specifically, in order to prevent the page view layer from executing unnecessary update tasks and reduce the workload of the system, in the embodiment of the present invention, before the page view layer updates the page according to the update data, the page view layer may check the update data pushed by the data layer, compare the new and old data stored locally temporarily, that is, compare the update data with the current page data, and compare whether the update data is consistent with the current page data. If the update data is inconsistent with the current page data, indicating that the page data is changed, receiving the update data, and updating the page according to the update data; if the updated data is consistent with the current page data, the page data is not changed, and at the moment, the page view layer does not update the page.
As a preferred implementation manner, in an embodiment of the present invention, the method further includes:
and after the updating task is added into the asynchronous updating queue, sending a notification of updating the asynchronous updating queue to the scheduler.
Specifically, in the embodiment of the present invention, after the update task is added to the asynchronous update queue, a notification of updating the asynchronous update queue is further set to be sent to the scheduler, on one hand, the scheduler is enabled to know the adding condition of the update task in the asynchronous update queue, and on the other hand, if the scheduler sets that the asynchronous update queue is pulled by triggering according to the upper limit of the asynchronous update queue, the scheduler can conveniently inquire the number of the update tasks in the asynchronous update queue, and when the number reaches the set upper limit of the asynchronous update queue, the scheduler is triggered to pull the asynchronous update queue.
Fig. 2 is a schematic structural diagram illustrating a page view updating system based on unidirectional data flow according to an exemplary embodiment, and referring to fig. 2, the system includes:
the action acquisition module is used for calling the corresponding action of the updating state in the intermediate proxy layer by the page view layer according to the page updating request;
the task generation module is used for generating an update task according to the action of the update state and adding the update task into an asynchronous update queue;
the first updating module is used for the dispatcher to pull the asynchronous updating queue and update page data of a data layer according to the asynchronous updating queue;
the data pushing module is used for pushing update data to the page view layer after the data layer updates page data;
and the second updating module is used for updating the page according to the updating data by the page view layer.
Specifically, in the embodiment of the present invention, an action setting module may be further configured in the system, a plurality of different actions in the update state are preset in the intermediate proxy layer through the action setting module, each action in the update state corresponds to updating of one state data, and when a user accesses a page View layer (View), the user only needs to call the corresponding action in the update state in the intermediate proxy layer according to a page update request.
As a preferred implementation manner, in an embodiment of the present invention, the task generating module includes:
the action judging unit is used for judging whether the action of the updating state is asynchronous operation;
and the task generating unit is used for sequentially generating corresponding updating tasks for the actions in the updating state if the actions in the updating state are asynchronous operation, and otherwise, combining the actions in the updating state to generate an updating task.
As a preferred implementation manner, in an embodiment of the present invention, the first updating module includes:
a basic setting unit for setting an upper limit of an internal clock or an asynchronous update queue;
a condition judging unit, configured to judge whether the internal clock expires or whether the asynchronous update queue reaches an upper limit;
and the task pulling unit is used for pulling the asynchronous update queue by the scheduler.
As a preferred implementation manner, in an embodiment of the present invention, the second updating module includes:
the data comparison unit is used for comparing whether the updated data is consistent with the current page data or not by the page view layer;
and the page updating unit is used for receiving the updating data and updating the page if the updating data is inconsistent with the current page data.
As a preferred implementation manner, in an embodiment of the present invention, the task generating module further includes:
and the task notification unit is used for sending a notification of updating the asynchronous update queue to the scheduler after the update task is added into the asynchronous update queue.
In summary, the technical solution provided by the embodiment of the present invention has the following beneficial effects:
1. the page view updating method and system based on the unidirectional data flow provided by the embodiment of the invention adopt the idea of the unidirectional data flow, so that any adjacent part can not generate bidirectional flow of data, the clarity of the flow is ensured, the maintenance is convenient and the prediction can be realized;
2. according to the page view updating method and system based on the unidirectional data flow, the unidirectional data flow idea is adopted, all state changes are restricted to be carried out in an intermediate agent layer (actor (s)), a unified data source is modified, and then the data source is redistributed from top to bottom, so that the state/attribute transmission cost is reduced, and state oscillation is fundamentally avoided;
3. according to the page view updating method and system based on the unidirectional data flow, provided by the embodiment of the invention, data is separated from a react (Java Script library used for constructing a user interface), and all components can be stateless components, so that the rendering performance can be further improved.
It should be noted that: the updating system of the page view based on the unidirectional data flow provided in the above embodiment is only illustrated by the division of the above functional modules when an update service is triggered, and in practical application, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the system is divided into different functional modules to complete all or part of the above described functions. In addition, the page view updating system based on the unidirectional data flow and the page view updating method based on the unidirectional data flow provided by the embodiment belong to the same concept, that is, the system is based on the page view updating method based on the unidirectional data flow, and the specific implementation process is detailed in the method embodiment and is not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (7)

1. A method for updating a page view based on unidirectional data flow is characterized by comprising the following steps:
the page view layer calls a corresponding updating state action in the intermediate proxy layer according to the page updating request;
generating an updating task according to the action of the updating state, and adding the updating task into an asynchronous updating queue;
the generating of the update task according to the action of the update state includes:
judging whether the motion of the updating state is asynchronous operation or not, and if not, combining the motion of the updating state into an updating task;
the scheduler pulls the asynchronous update queue, and performs page data update on a data layer according to the asynchronous update queue;
the scheduler pulling the asynchronous update queue comprises:
setting an upper limit of an internal clock or an asynchronous update queue, and pulling the asynchronous update queue by the scheduler after the internal clock expires or the asynchronous update queue reaches the upper limit;
and pushing update data to the page view layer after the data layer updates the page data, and updating the page by the page view layer according to the update data.
2. The method for updating a page view based on unidirectional data flow according to claim 1, wherein the generating an update task according to the action of updating the state further comprises:
and if the action of the updating state is asynchronous operation, generating corresponding updating tasks for the action of the updating state in sequence.
3. The updating method of page view based on unidirectional data flow according to claim 1, wherein before the page view layer updates the page according to the updating data, the method further comprises:
and the page view layer compares whether the updating data is consistent with the current page data, if not, the updating data is received, and the page is updated, otherwise, the page is not updated.
4. The method for updating a page view based on unidirectional data flow according to claim 1, wherein the method further comprises:
and after the updating task is added into the asynchronous updating queue, sending a notification of updating the asynchronous updating queue to the scheduler.
5. A system for updating a page view based on unidirectional data flow, the system comprising:
the action acquisition module is used for calling the corresponding action of the updating state in the intermediate proxy layer by the page view layer according to the page updating request;
the task generation module is used for generating an update task according to the action of the update state and adding the update task into an asynchronous update queue;
the task generation module comprises:
the action judging unit is used for judging whether the action of the updating state is asynchronous operation;
the task generating unit is used for sequentially generating corresponding updating tasks for the actions in the updating state if the actions in the updating state are asynchronous operation, and otherwise, combining the actions in the updating state to generate an updating task;
the first updating module is used for the dispatcher to pull the asynchronous updating queue and update page data of a data layer according to the asynchronous updating queue;
the first update module includes:
a basic setting unit for setting an upper limit of an internal clock or an asynchronous update queue;
a condition judging unit, configured to judge whether the internal clock expires or whether the asynchronous update queue reaches an upper limit;
a task pulling unit, configured to pull the asynchronous update queue by the scheduler;
the data pushing module is used for pushing update data to the page view layer after the data layer updates page data;
and the second updating module is used for updating the page according to the updating data by the page view layer.
6. The system for updating page views based on unidirectional data flow according to claim 5, wherein the second updating module comprises:
the data comparison unit is used for comparing whether the updated data is consistent with the current page data or not by the page view layer;
and the page updating unit is used for receiving the updating data and updating the page if the updating data is inconsistent with the current page data.
7. The system for updating a page view based on unidirectional data flow of claim 5, wherein the task generating module further comprises:
and the task notification unit is used for sending a notification of updating the asynchronous update queue to the scheduler after the update task is added into the asynchronous update queue.
CN201910467073.4A 2019-05-30 2019-05-30 Method and device for updating page view based on unidirectional data flow Active CN110321464B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910467073.4A CN110321464B (en) 2019-05-30 2019-05-30 Method and device for updating page view based on unidirectional data flow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910467073.4A CN110321464B (en) 2019-05-30 2019-05-30 Method and device for updating page view based on unidirectional data flow

Publications (2)

Publication Number Publication Date
CN110321464A CN110321464A (en) 2019-10-11
CN110321464B true CN110321464B (en) 2022-03-18

Family

ID=68119244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910467073.4A Active CN110321464B (en) 2019-05-30 2019-05-30 Method and device for updating page view based on unidirectional data flow

Country Status (1)

Country Link
CN (1) CN110321464B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113254492B (en) * 2021-07-07 2021-11-23 北京优锘科技有限公司 Method, device and equipment for inquiring background synchronous management level visual object

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446740A (en) * 2015-11-27 2016-03-30 国网信息通信产业集团有限公司 MVVM (Model-View-View Model) architecture based Web front-end presentation system
CN106302008A (en) * 2016-08-05 2017-01-04 腾讯科技(深圳)有限公司 Data-updating method and device
CN108038009A (en) * 2017-12-22 2018-05-15 金蝶软件(中国)有限公司 Front and back end exchange method, device and computer equipment based on Web applications
CN108415782A (en) * 2018-02-23 2018-08-17 携程旅游网络技术(上海)有限公司 Control communication means, device, electronic equipment, the storage medium of application program
CN108846728A (en) * 2018-06-14 2018-11-20 浙江口碑网络技术有限公司 Method for processing business and system based on the business service page

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9251284B2 (en) * 2010-12-02 2016-02-02 Microsoft Technology Licensing, Llc Mixing synchronous and asynchronous data streams
US8838808B2 (en) * 2011-09-30 2014-09-16 Apple Inc. Asynchronous communication in web applications
CN107463563B (en) * 2016-06-02 2020-12-08 腾讯科技(深圳)有限公司 Information service processing method and device of browser
CN109634599B (en) * 2018-12-14 2020-05-19 北京字节跳动网络技术有限公司 Page view display method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446740A (en) * 2015-11-27 2016-03-30 国网信息通信产业集团有限公司 MVVM (Model-View-View Model) architecture based Web front-end presentation system
CN106302008A (en) * 2016-08-05 2017-01-04 腾讯科技(深圳)有限公司 Data-updating method and device
CN108038009A (en) * 2017-12-22 2018-05-15 金蝶软件(中国)有限公司 Front and back end exchange method, device and computer equipment based on Web applications
CN108415782A (en) * 2018-02-23 2018-08-17 携程旅游网络技术(上海)有限公司 Control communication means, device, electronic equipment, the storage medium of application program
CN108846728A (en) * 2018-06-14 2018-11-20 浙江口碑网络技术有限公司 Method for processing business and system based on the business service page

Also Published As

Publication number Publication date
CN110321464A (en) 2019-10-11

Similar Documents

Publication Publication Date Title
US11188380B2 (en) Method and apparatus for processing task in smart device
US20150365358A1 (en) Context-Aware Dynamic Policy Selection for Messaging Behavior
Buddhika et al. Neptune: Real time stream processing for internet of things and sensing environments
US20130007773A1 (en) Systems, methods, apparatuses, and computer program products for facilitating integration of third party technology with a database
US9098359B2 (en) Durable execution of long running applications
CN108055255A (en) A kind of event base, expansible data management system and its management method
US9600681B2 (en) Method for controlling access to electronic documents using locks
KR102485228B1 (en) Smart contract implementation method and device for blockchain, equipment and medium
WO2009129732A1 (en) A distributed message invoking method and device
CN108008950B (en) Method and device for realizing user interface updating
CN105975261B (en) A kind of runtime system and operation method called towards unified interface
CN103716397B (en) A kind of service-oriented simulation clock propulsion method
CN105187327A (en) Distributed message queue middleware
WO2011147218A1 (en) Method for implementing application management and non-intelligent mobile terminal
CN110321464B (en) Method and device for updating page view based on unidirectional data flow
CN108845872B (en) Method for implementing software timer for embedded system
CN114095537A (en) Netty-based mass data access method and system in application of Internet of things
CN112162840B (en) Coroutine processing and management method based on interrupt reentry mechanism
CN113556387A (en) Edge gateway control method, system, device, electronic equipment and storage medium
CN111949422A (en) Data multi-level caching and high-speed transmission recording method based on MQ and asynchronous IO
CN106201692B (en) Timing task processing system and method
CN116594752A (en) Flow scheduling method, device, equipment, medium and program product
WO2016197858A1 (en) Method and device for message notification
CN110955669B (en) Front-end and back-end data consistency method and system based on event and memory database
Park et al. Optimistic parallel simulation over public resource-computing infrastructures and desktop grids

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
TA01 Transfer of patent application right

Effective date of registration: 20200918

Address after: No.1-9 Suning Avenue, Xuanwu District, Nanjing, Jiangsu Province, 210000

Applicant after: Nanjing suningjia e-commerce Co., Ltd

Address before: No. 1-1 Suning Avenue, Xuzhuang Software Park, Xuanwu District, Nanjing City, Jiangsu Province, 210000

Applicant before: Suning Cloud Computing Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant