WO2018086454A1 - Page data processing method and device - Google Patents

Page data processing method and device Download PDF

Info

Publication number
WO2018086454A1
WO2018086454A1 PCT/CN2017/107433 CN2017107433W WO2018086454A1 WO 2018086454 A1 WO2018086454 A1 WO 2018086454A1 CN 2017107433 W CN2017107433 W CN 2017107433W WO 2018086454 A1 WO2018086454 A1 WO 2018086454A1
Authority
WO
WIPO (PCT)
Prior art keywords
event
data
content
processing
stream
Prior art date
Application number
PCT/CN2017/107433
Other languages
French (fr)
Chinese (zh)
Inventor
刘佳诚
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2018086454A1 publication Critical patent/WO2018086454A1/en

Links

Images

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

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a page data processing method and apparatus.
  • the embodiment of the invention provides a page data processing method and device, which can avoid the situation that data is not synchronized when different display components use the same data source, improve data consistency, and improve data processing efficiency.
  • the embodiment of the invention provides a page data processing method, including:
  • the data content of all of the display components is processed based on the event.
  • an embodiment of the present invention further provides a page data processing apparatus, including: a processor and a memory, wherein the processor executes a memory storage instruction for:
  • the data content of all of the display components is processed based on the event.
  • the embodiment of the present invention may generate an event according to the processing request, determine a corresponding data source according to the target display component and the processing content indicated by the request, and determine to use all the data sources. Display components, and then process the data content of these display components based on the event.
  • the data content of all related display components can be processed, not just for a certain display component (ie, the target display component), so Avoid data synchronization when different display components use the same data source, greatly improve data consistency, and improve data processing efficiency.
  • FIG. 1 is a schematic diagram of a scenario of a page data processing method according to an embodiment of the present invention
  • FIG. 1b is a flowchart of a page data processing method according to an embodiment of the present invention.
  • FIG. 2a is another flowchart of a page data processing method according to an embodiment of the present invention.
  • FIG. 2b is another schematic diagram of a page data processing method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of still another scenario of a page data processing method according to an embodiment of the present disclosure
  • FIG. 3 is a schematic structural diagram of a page data processing apparatus according to an embodiment of the present invention.
  • FIG. 3b is another schematic structural diagram of a page data processing apparatus according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a network device according to an embodiment of the present invention.
  • each event has an instance of its own data object, and all data independently responds to different events.
  • the background will generate a corresponding click event A according to the click event, and call the corresponding data object instance according to the click event A to perform data processing on the a page, for example, according to the data object instance to the corresponding display component (ie, The data content in the data consumer is updated, and so on.
  • the background will also generate a corresponding click event B according to the click event, and invoke the corresponding data object instance according to the click event B to the b page. Perform data processing.
  • the background will separately process and respond to different events separately, that is, the click event A only processes the a page, and the click event B only b page processing, and so on.
  • Embodiments of the present invention provide a page data processing method and apparatus.
  • the page data processing apparatus may generate an event according to the processing request, for example, generating an event E1, and on the other hand, according to the target display component indicated by the processing request. Determining a corresponding data source with the processing content, and determining all display components used to the data source, for example, if the target display component indicated by the processing request is "display component C1", and the indicated processing content is "update display component C1"
  • the data displayed in the text box A then, at this time, the data source D1 used by the text box A of the target display component C1 can be found, and all display components that need to be used to the data source D1, such as the "display component", are determined.
  • all the data components of the display component using the same data source have one and only one data object instance (that is, the same type of data will be managed by the same data object instance), and all the data content is The output of the data object instance, all the modifications to the data are also modifications to the same data object instance. Therefore, in the data model, the data content changes are synchronized in real time, and all data content modifications can be consistent, so This solution can greatly improve the consistency of data.
  • a page data processing device which may be integrated in a network device, such as a terminal or a server, and the terminal may include a mobile phone, a tablet computer, a notebook computer or a personal computer ( PC, Personal Computer) and other devices.
  • a network device such as a terminal or a server
  • the terminal may include a mobile phone, a tablet computer, a notebook computer or a personal computer ( PC, Personal Computer) and other devices.
  • a page data processing method includes: acquiring a processing request of page data, the processing request indicating a target display component and processing content; generating an event according to the processing request; determining a corresponding data source according to the target display component and the processing content, and determining Use all display components to the data source; process the data content of all display components based on the event.
  • the specific process of the page data processing method can be as follows:
  • the target display component refers to a display component corresponding to the page data
  • the so-called display component refers to a user of the data
  • the so-called display component refers to a user of the data
  • a device such as a terminal
  • a module in the device an application
  • an application an application
  • the module is the display component of the data A in the page a.
  • the page b is The display component of the data B, if a terminal k needs to use the data C, the terminal k is a display component of the data C, and the like, the display component has the right to use the data, can use the data, subscribe to the data, and provide the data.
  • Display template and more.
  • Processing content refers to specific operational content, such as downloading, updating, or deleting content corresponding to the target display component.
  • one data source may correspond to one display component, or may correspond to multiple display components, that is, multiple display components may use the same data source; and a display component may also correspond to only one data source, and may also Corresponding to multiple data sources, that is, according to different processing contents, the same display component can use different data sources, for example, the display component includes the text box A and the text box B as an example, if the processing content is “processing the text box A ", it can be determined that the data source corresponding to the display component is the data source D1, and if the processing content is "processing the text box B", it can be determined that the data source corresponding to the display component is the data source D2, and so on. ,and many more.
  • a corresponding event creation process is invoked according to the processing request, and then, according to the processing content requested in the processing request, the event creation process is used to generate a corresponding event, and the like.
  • the so-called event refers to some action performed by the device itself, such as click, download, and mouseover, all of which belong to specific event names.
  • the page data processing device can monitor the corresponding click event and respond to the event, for example, calling The corresponding event handler (or function), and so on.
  • the process of listening to an event and responding to an event is referred to as "generation" of the event.
  • the data source used by the target display component may be first determined, the data source set is obtained, and then the data source set is selected from the data source set. Process the corresponding data source for content, and more.
  • the display component C1, the display component C2, the display component C3, and the display component C4 use the same data source D1 as an example, if the target display component indicated in the processing request is "display component C1", and the indicated processing content In order to "process the data displayed in the text box A of the display component C1", at this time, it can be determined that the data source used by the "display component C1" is “data source D1", and it is determined that all of the data source D1 is used.
  • the display components are: display component C1, display component C2, display component C3 and display component C4, and the like.
  • the data object instance corresponding to the data source is called, and the data content of all the display components is processed through the data object instance, for example, updating.
  • the event will perturb the corresponding data stream, so that when there is data change in the data stream, the data content in all related display components (the display components have the data call permission) can be updated, thereby Maintain data consistency and real-time.
  • the event attribute may include information such as an event generation time, an event type, and/or a trigger time.
  • the event may be added to the corresponding event stream according to the event attribute.
  • the trigger time of the event may be determined according to the event attribute, and then the event is added to the corresponding sequence according to the trigger time. The order flow of the event stream, and so on.
  • events with the same content are merged (or called a summary).
  • the data object instance corresponding to the data source is invoked, and the data content of all the display components is processed by the data object instance, and the corresponding event, such as the data object, may also be The included event responds.
  • the processing may be performed in a plurality of manners.
  • the processing is specifically an update of the data, and specifically, the synchronous update and the asynchronous update may be included, which are referred to as synchronous and asynchronous.
  • the synchronous change of the data stream will be maintained, that is, when the event ends, the data will change synchronously.
  • the data stream will trigger the data synchronization asynchronously after the asynchronous event response, and will not be described here.
  • the page data processing method may further include:
  • the trigger result of all the events in the event stream may be statistically obtained, the statistical result is obtained, and the statistical result is output.
  • the generation and triggering of the event belong to different operations, and the triggering time of the event may be the same as the generating time, or may be later than the generating time, and will not be described here.
  • the embodiment may generate an event according to the processing request, determine a corresponding data source according to the target display component and the processing content indicated by the request, and determine to use the data. All display components of the source, and then process the data content of these display components based on the event; since in this scenario, when an event is triggered, the data content of all related display components can be processed, not only It is only for a certain display component (ie, the target display component). Therefore, this scheme can avoid the situation that the data is not synchronized when different display components use the same data source, greatly improve data consistency, and improve data processing efficiency.
  • the page data processing apparatus may be specifically integrated into the network device as an example for description.
  • a page data processing method can be executed by a page data processing apparatus, and the specific process can be as follows:
  • a network device acquires a processing request of page data, wherein the processing request indicates a target display component and processing content.
  • the target display component refers to a display component corresponding to the page data
  • the processing content refers to a specific operation content, such as downloading, updating, or deleting.
  • the network device is specifically a terminal
  • the terminal when the user performs operations on the terminal, for example, when the page is clicked on the terminal screen, the terminal can receive a processing request for the page data.
  • the network device is specifically a server
  • the terminal may generate a corresponding page data processing request according to the click operation, and then Sending the processing request to the server, that is, the server can receive the processing request of the page data sent by the terminal.
  • the network device generates an event according to the processing request.
  • the event includes an event attribute, and the event attribute may include information such as an event generation time, an event type, and/or a trigger time.
  • the network device can invoke the corresponding event creation process according to the processing request, and then, according to the Processing the requested content in the request, using the event creation process to generate the corresponding event, and so on.
  • the event may include a click, a download, a mouseover, and the like.
  • the corresponding event creation process can be invoked, and the event creation process is used to generate a corresponding event, such as an event. E1 (see Fig. 2b), such that the generated event (such as event E1) can implement the operation of "download page data A".
  • the corresponding event creation process can be invoked, and the event creation process is used to generate a corresponding event, such as Event E2 (see Figure 2b), such that the generated event (such as event E2) can implement the operation of "update page data B".
  • the network device determines a corresponding data source according to the target display component and the processing content.
  • the network device can determine all data sources used by the target display component, obtain a data source set, and then select a data source corresponding to the processed content from the data source set.
  • the same data source D1 is used to display the component C1, the display component C2 and the display component C3.
  • the display component C1 and the display component C2 use the same data source D2, and the display component C1 is related to "download page data A".
  • the data source corresponding to the part is "data source D1”
  • the data source corresponding to the part of the display component C1 regarding "update page data B" is "data source D2" as an example, which may be specifically as follows:
  • the target display component indicated in the processing request is "display component C1" and the processing content is "download page data A”, then at this time, it can be determined that the data source corresponding to the event E1 is "data source D1".
  • the target display component indicated in the processing request is "display component C1" and the processing content is "update page data B", then at this time, it can be determined that the data source corresponding to the event E2 is "data source D2". .
  • the data source corresponding to the target display component and the processing content is equivalent to the data source corresponding to the event.
  • the network device determines all display components used to the data source.
  • step 203 if the determined data source is “data source D1”, then at this time, it can be determined that all display components using the data source D1 are: display component C1, display component C2, and display. Component C3; Similarly, if the determined data source is "data source D2”, then at this time, it can be determined that all display components using the data source D2 are: display component C1 and display component C2.
  • the network device determines, according to the event attribute, a trigger time of the event, and adds the event to the ordered queue of the corresponding event flow according to the sequence of the trigger time.
  • the event stream may be aggregated according to a preset policy, for example, events with the same content may be merged, etc.; After the event is added to the ordered queue of the corresponding event flow, you can also do the following:
  • the click event stream can merge the click events with the same content in the click event stream, create a double-click event stream, and then add the event to the double-click event.
  • the click events E3 and E4 in the event stream have the same content, they can be merged into a double-click event E5 in the double-click event stream; similarly, the click event stream can be Click on events E6 and E7 to merge into double-click event E8 in the double-click event stream, and so on.
  • the merge mode can be implemented by a specific language such as a timer, and is not described here.
  • the network device processes the data content of all display components based on the event flow.
  • the processing is specifically an update operation, as shown in FIG. 2b
  • the processing is specifically an update operation, as shown in FIG. 2b
  • the data object instance corresponding to the data source D1 can be called at this time.
  • the data content in the display component C1, the display component C2, and the display component C3 are updated by the data object instance to all the display components corresponding to the data source D1.
  • the data object instance corresponding to the data source D2 can be called at this time, and then the data source D2 is passed through the data object instance. All corresponding display components, that is, the data contents in the display component C1 and the display component C2 are updated, and so on, and so on.
  • the update may include synchronous and asynchronous.
  • the synchronous change of the data stream will be maintained, that is, when the event ends, the data will change synchronously.
  • the data stream will trigger the data synchronization asynchronously after the asynchronous event response, and will not be described here.
  • the corresponding event such as the event included in the data object, may also be responded to, and details are not described herein.
  • Steps 207-209 can be performed as follows:
  • the network device records processing, for example, recording a data content update of each display component, and obtaining a trigger result of the event.
  • the network device performs statistics on the triggering results of all events in the event flow, and obtains a statistical result.
  • the network device outputs the statistical result.
  • the data object instance is not an event but a data source, which means that the display component using the same data source will use the same data object instance. Therefore, when the data object instance changes, the data content in all display components of the data object instance will also be changed, that is, when an event is triggered, the data content of all related display components can be Processing, not just for a certain display component, so this solution can avoid the situation that different display components use the same data source, the data is not synchronized, greatly improve the consistency of the data, and can be applied to handle heavy interaction. High frequency synchronization application scenarios, in addition, can also improve data processing efficiency.
  • the embodiment of the present invention further provides a page data processing apparatus.
  • the page data processing apparatus may include an obtaining unit 301, a generating unit 302, a determining unit 303, and a processing unit 304, as follows:
  • the obtaining unit 301 is configured to acquire a processing request of the page data, where the processing request indicates the target display component and the processing content.
  • the target display component refers to a display component corresponding to the page data
  • the processing content refers to a specific operation content, such as downloading, updating, or deleting.
  • the generating unit 302 is configured to generate an event according to the processing request.
  • the event includes an event attribute, and the event attribute may include information such as an event generation time, an event type, and/or a trigger time.
  • the determining unit 303 is configured to determine a corresponding data source according to the target display component and the processing content, and determine to use all display components to the data source.
  • the determining unit 303 may specifically determine a data source used by the target display component, obtain a data source set, and then select a data source corresponding to the processing content from the data source set, etc., as described above. Method embodiments are not described herein again.
  • processing unit 304
  • the processing unit 304 is configured to process data content of all display components based on the event.
  • the processing unit 304 may be specifically configured to: when the event is triggered, invoke an instance of the data object corresponding to the data source, and process, by the data object instance, the data content of all the display components, such as performing an update.
  • the processing unit 304 may also respond to the corresponding event, such as the event included in the data object, and details are not described herein.
  • the processing unit 304 can include an add subunit and an update subunit, as follows:
  • the add subunit can be used to add the event to the event stream; for example, an event attribute of the event can be obtained, the event is added to the corresponding event stream according to the event attribute, and the like.
  • the event attribute may include information such as an event generation time, an event type, and/or a trigger time, and the manner in which the event is added to the corresponding event stream according to the event attribute may also be various, for example, according to the event attribute.
  • Determine the trigger time of the event then add the event to the ordered queue of the corresponding event stream in the order of the trigger time, and so on.
  • An update subunit is configured to process data content of all display components based on the event stream.
  • the update subunit may be specifically configured to invoke an instance of the data object corresponding to the data source when the event in the event stream is triggered, and process the data content of all the display components by using the data object instance.
  • the event stream may be aggregated according to a preset policy, for example, events having the same content may be merged, and the like;
  • the unit may also include a merge subunit as follows:
  • the merging subunit is configured to merge events having the same content when determining that an event of the same content exists in the data stream.
  • the merge subunit can merge the events with the same content in the click event stream (that is, merge the two click events), and then create a double click event stream. And then add the event to the double-click event stream.
  • the method of merging can be implemented by a specific language such as a timer, and details are not described herein again.
  • the page data processing apparatus may further include a recording unit 305, as follows:
  • the recording unit 305 can be used to record the processing of the processing unit 304 to obtain a trigger result of the event.
  • a statistical unit 306 is included as follows:
  • the statistics unit 306 can be configured to perform statistics on the triggering results of all events in the event stream, obtain statistical results, and output the statistical result.
  • the foregoing units may be implemented as separate entities, and may be implemented in any combination, and may be implemented as the same entity or a plurality of entities.
  • the foregoing method embodiments and details are not described herein again. .
  • the page data processing device may be specifically integrated in a network device, such as a terminal or a server, and the terminal may include a device such as a mobile phone, a tablet computer, a notebook computer, or a PC.
  • a network device such as a terminal or a server
  • the terminal may include a device such as a mobile phone, a tablet computer, a notebook computer, or a PC.
  • the generating unit 302 can generate an event according to the processing request, and the determining unit 303 displays the component according to the target indicated by the request.
  • Processing the content determines the corresponding data source, and determining all display components used to the data source, and then processing the data content of the display components based on the event by the processing unit 304; since in this scenario, when an event is triggered
  • this solution can avoid data when different display components use the same data source. Unsynchronized situations greatly improve data consistency and improve data processing efficiency.
  • the embodiment of the invention further provides a network device, which may be a terminal or a server, and the terminal may include a mobile phone, a tablet computer, a notebook computer or a PC.
  • a network device which may be a terminal or a server, and the terminal may include a mobile phone, a tablet computer, a notebook computer or a PC.
  • FIG. 4 shows a schematic structural diagram of a network device according to an embodiment of the present invention, specifically:
  • the network device may include one or more processing core processor 401, one or more computer readable storage medium memories 402, a radio frequency (RF) circuit 403, a power source 404, an input unit 405, and a display unit 406. And other components. It will be understood by those skilled in the art that the network device structure illustrated in FIG. 4 does not constitute a limitation to the network device, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements. among them:
  • the processor 401 is the control center of the network device, connecting various portions of the entire network device using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 402, and recalling stored in the memory 402. Data, performing various functions of the network device and processing data, thereby performing overall monitoring of the network device.
  • the processor 401 may include one or more processing cores; the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, etc., and the modem processor mainly Handle wireless communications. It can be understood that the above modem processor may not be integrated into the processor 401.
  • the memory 402 can be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by running software programs and modules stored in the memory 402.
  • the memory 402 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to the network. Data created by the use of the device, etc.
  • memory 402 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 402 can also include a memory controller to provide processor 401 access to memory 402.
  • the RF circuit 403 can be used for receiving and transmitting signals during the process of transmitting and receiving information. Specifically, after receiving the downlink information of the base station, the downlink information is processed by one or more processors 401. In addition, the data related to the uplink is sent to the base station.
  • the RF circuit 403 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, and a Low Noise Amplifier (LNA). , duplexer, etc.
  • RF circuitry 403 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), and Code Division Multiple Access (CDMA). , Code Division Multiple Access), Wideband Code Division Multiple Access (WCDMA), long LTE (Long Term Evolution), e-mail, Short Message Service (SMS), etc.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • Code Division Multiple Access Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • long LTE Long Term Evolution
  • SMS Short Message Service
  • the network device also includes a power source 404 (such as a battery) that supplies power to the various components.
  • the power source 404 can be logically coupled to the processor 401 through the power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the power supply 404 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the network device can also include an input unit 405 that can be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 405 can include a touch-sensitive surface as well as other input devices. Touch-sensitive surfaces, also known as touch screens or trackpads, collect touch operations on or near the user (such as the user using a finger, stylus, etc., any suitable object or accessory on a touch-sensitive surface or touch-sensitive Operation near the surface), and drive the corresponding connecting device according to a preset program.
  • the touch sensitive surface can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 401 is provided and can receive commands from the processor 401 and execute them.
  • touch-sensitive surfaces can be implemented in a variety of types, including resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 405 can also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the network device can also include a display unit 406 that can be used to display information entered by the user or information provided to the user and various graphical user interfaces of the network device, which can be graphical, textual, iconic, Video and any combination of them.
  • the display unit 406 may include a display panel, and the display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
  • the touch-sensitive surface may cover the display panel, and when the touch-sensitive surface detects a touch operation thereon or nearby, it is transmitted to the processor 401 to determine the type of the touch event, and then the processor 401 displays the type according to the touch event. A corresponding visual output is provided on the panel.
  • the touch-sensitive surface and display panel are implemented as two separate components to perform input and input functions, in some embodiments, the touch-sensitive surface can be integrated with the display panel to achieve input and Output function.
  • the network device may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the processor 401 in the network device loads the executable file corresponding to the process of one or more applications into the memory 402 according to the following instruction, and is stored and stored by the processor 401.
  • Obtaining a processing request of the page data wherein the processing request indicates the target display component and the processing content; generating an event according to the processing request, determining a corresponding data source according to the target display component and the processing content, and determining to use the data source All display components process the data content of all display components based on the event.
  • the manner in which the data content of all display components is processed based on the event may be various, for example, as follows:
  • the data object instance corresponding to the data source is called, and the data content of all the display components is processed through the data object instance, for example, updating.
  • the corresponding event such as the event included in the data object, may also be responded to, and details are not described herein.
  • Adding the event to the event stream for example, acquiring an event attribute of the event, adding the event to the corresponding event stream according to the event attribute, and then processing the data content of all display components based on the event stream, For example, to update the data content of all display components, and so on.
  • the event stream may be aggregated according to a preset policy, for example, events having the same content may be merged, etc.; that is, the storage
  • the application in the memory 402 can also implement the following functions:
  • events with the same content are merged.
  • the application stored in the memory 402 may also implement the following functions:
  • the trigger result of all the events in the event stream may be statistically obtained, the statistical result is obtained, and the statistical result is output.
  • the network device in the embodiment of the present invention may generate an event according to the processing request, determine a corresponding data source according to the target display component and the processing content indicated by the request, and determine Using all display components of the data source, and then processing the data content of the display components based on the event; since in this scenario, when an event is triggered, the data content of all relevant display components can be performed Processing, not just for a certain display component (ie, target display component), so this solution can avoid data synchronization when different display components use the same data source, greatly improve data consistency, and improve Data processing efficiency.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.
  • ROM Read Only Memory
  • RAM Random Access Memory

Abstract

The embodiments of the invention disclose a page data processing method and device. In one embodiment of the invention, the method comprises: after obtaining a processing request for processing page data, generating, according to the processing request, an event; determining, according to a target display component and processing content as indicated in the request, a corresponding data source, and determining all display components using the data source; and processing, on the basis of the event, data content of the display components.

Description

页面数据处理方法和装置Page data processing method and device
本申请要求于2016年11月10日提交中国专利局、申请号为2016109918412、发明名称为“一种页面数据处理方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 2016109918412, the entire disclosure of which is incorporated herein in in.
技术领域Technical field
本发明涉及通信技术领域,具体涉及一种页面数据处理方法和装置。The present invention relates to the field of communications technologies, and in particular, to a page data processing method and apparatus.
背景技术Background technique
在传统的页面(比如Web)数据处理上,一般都会通过事件驱动的方式来实现数据的流转和传递。In the traditional page (such as Web) data processing, the data flow and transfer are generally implemented in an event-driven manner.
发明内容Summary of the invention
本发明实施例提供一种页面数据处理方法和装置,可以避免不同显示组件使用相同数据源时,数据不同步的情况,提高数据的一致性,以及提高数据处理效率。The embodiment of the invention provides a page data processing method and device, which can avoid the situation that data is not synchronized when different display components use the same data source, improve data consistency, and improve data processing efficiency.
本发明实施例提供一种页面数据处理方法,包括:The embodiment of the invention provides a page data processing method, including:
获取页面数据的处理请求,所述处理请求指示目标显示组件和处理内容;Obtaining a processing request of page data, the processing request indicating a target display component and processing content;
根据所述处理请求生成事件;Generating an event according to the processing request;
根据所述目标显示组件和处理内容确定相应的数据源,并确定使用到所述数据源的所有显示组件;Determining a corresponding data source according to the target display component and processing content, and determining all display components used to the data source;
基于所述事件对所述所有显示组件的数据内容进行处理。The data content of all of the display components is processed based on the event.
相应的,本发明实施例还提供一种页面数据处理装置,包括:处理器和存储器,其中,处理器执行存储器存储的指令,用于:Correspondingly, an embodiment of the present invention further provides a page data processing apparatus, including: a processor and a memory, wherein the processor executes a memory storage instruction for:
获取页面数据的处理请求,所述处理请求指示目标显示组件和处理内容;Obtaining a processing request of page data, the processing request indicating a target display component and processing content;
根据所述处理请求生成事件;Generating an event according to the processing request;
根据所述目标显示组件和处理内容确定相应的数据源,并确定使用到所述数据源的所有显示组件;Determining a corresponding data source according to the target display component and processing content, and determining all display components used to the data source;
基于所述事件对所述所有显示组件的数据内容进行处理。 The data content of all of the display components is processed based on the event.
本发明实施例在获取到页面数据的处理请求后,可以根据该处理请求生成事件,并根据该请求所指示的目标显示组件和处理内容确定相应的数据源,以及确定使用到该数据源的所有显示组件,然后,基于该事件对这些显示组件的数据内容进行处理。由于在该方案中,当某一事件触发时,可以对所有相关的显示组件的数据内容都进行处理,而不仅仅只是针对某一显示组件(即目标显示组件),所以,采用该方案,可以避免不同显示组件使用相同数据源时,数据不同步的情况,大大提高数据的一致性,以及提高数据的处理效率。After obtaining the processing request of the page data, the embodiment of the present invention may generate an event according to the processing request, determine a corresponding data source according to the target display component and the processing content indicated by the request, and determine to use all the data sources. Display components, and then process the data content of these display components based on the event. In this solution, when an event is triggered, the data content of all related display components can be processed, not just for a certain display component (ie, the target display component), so Avoid data synchronization when different display components use the same data source, greatly improve data consistency, and improve data processing efficiency.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings can also be obtained from those skilled in the art based on these drawings without paying any creative effort.
图1a是本发明实施例提供的页面数据处理方法的场景示意图;FIG. 1 is a schematic diagram of a scenario of a page data processing method according to an embodiment of the present invention;
图1b是本发明实施例提供的页面数据处理方法的流程图;FIG. 1b is a flowchart of a page data processing method according to an embodiment of the present invention;
图2a是本发明实施例提供的页面数据处理方法的另一流程图;2a is another flowchart of a page data processing method according to an embodiment of the present invention;
图2b是本发明实施例提供的页面数据处理方法的另一场景示意图;2b is another schematic diagram of a page data processing method according to an embodiment of the present invention;
图2c是本发明实施例提供的页面数据处理方法的又一场景示意图;FIG. 2 is a schematic diagram of still another scenario of a page data processing method according to an embodiment of the present disclosure;
图3a是本发明实施例提供的页面数据处理装置的结构示意图;FIG. 3 is a schematic structural diagram of a page data processing apparatus according to an embodiment of the present invention; FIG.
图3b是本发明实施例提供的页面数据处理装置的另一结构示意图;FIG. 3b is another schematic structural diagram of a page data processing apparatus according to an embodiment of the present invention; FIG.
图4是本发明实施例提供的网络设备的结构示意图。FIG. 4 is a schematic structural diagram of a network device according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
在本申请一实施例中,每一个事件均拥有一个属于自己的数据对象实例,而所有的数据独立地响应不同的事件。例如,当用户单击a页面中的某一触发键时, 后台便会根据该单击事件生成相应的单击事件A,并根据该单击事件A调用对应的数据对象实例,以对a页面进行数据处理,比如根据该数据对象实例对相应显示组件(即数据使用者)中的数据内容进行更新,等等。同理,当用户单击b页面中的一触发键时,后台也会根据该单击事件生成相应的单击事件B,并根据该单击事件B调用对应的数据对象实例,以对b页面进行数据处理。其中,即便a页面和b页面所使用的数据源是同一个,后台也会针对不同的事件分别进行独立地处理和响应,即单击事件A只对a页面进行处理,单击事件B只对b页面进行处理,等等。In an embodiment of the present application, each event has an instance of its own data object, and all data independently responds to different events. For example, when the user clicks on a trigger button in the a page, The background will generate a corresponding click event A according to the click event, and call the corresponding data object instance according to the click event A to perform data processing on the a page, for example, according to the data object instance to the corresponding display component (ie, The data content in the data consumer is updated, and so on. Similarly, when the user clicks a trigger button in the b page, the background will also generate a corresponding click event B according to the click event, and invoke the corresponding data object instance according to the click event B to the b page. Perform data processing. Among them, even if the data source used by the a page and the b page are the same, the background will separately process and respond to different events separately, that is, the click event A only processes the a page, and the click event B only b page processing, and so on.
由于所有的数据也都是独立地响应不同的事件,因此,数据的呈现和管理都是独立进行的,所以,当不同显示组件使用相同数据源时,容易出现数据不同步的情况,比如a页面所呈现的数据与b页面所呈现的数据不一致,等等。Since all data is independently responding to different events, the presentation and management of data are performed independently. Therefore, when different display components use the same data source, data is not synchronized, such as a page. The data presented is inconsistent with the data presented by the b page, and so on.
本发明实施例提供一种页面数据处理方法和装置。Embodiments of the present invention provide a page data processing method and apparatus.
参见图1a,该页面数据处理装置在获取到页面数据的处理请求后,一方面,可以根据该处理请求生成事件,比如生成事件E1,另一方面,可以根据该处理请求所指示的目标显示组件和处理内容确定相应的数据源,以及确定使用到该数据源的所有显示组件,比如,若该处理请求指示的目标显示组件为“显示组件C1”,且指示的处理内容为“更新显示组件C1的文本框A中所显示的数据”,则此时,可以找到该目标显示组件C1的文本框A所使用的数据源D1,并确定需要使用到数据源D1的所有显示组件,如“显示组件C1”、“显示组件C2”、“显示组件C3”和“显示组件C4”,然后,基于该事件对该所有显示组件的数据内容进行处理,比如,在该事件E1被触发时,调用该数据源D1对应的数据对象实例,并通过该数据对象实例对所有显示组件,即“显示组件C1”、“显示组件C2”、“显示组件C3”和“显示组件C4”的数据内容进行处理,等等。Referring to FIG. 1a, after acquiring the processing request of the page data, the page data processing apparatus may generate an event according to the processing request, for example, generating an event E1, and on the other hand, according to the target display component indicated by the processing request. Determining a corresponding data source with the processing content, and determining all display components used to the data source, for example, if the target display component indicated by the processing request is "display component C1", and the indicated processing content is "update display component C1" The data displayed in the text box A, then, at this time, the data source D1 used by the text box A of the target display component C1 can be found, and all display components that need to be used to the data source D1, such as the "display component", are determined. C1", "display component C2", "display component C3" and "display component C4", then processing the data content of all display components based on the event, for example, when the event E1 is triggered, the data is called The data object instance corresponding to the source D1, and through the data object instance to all display components, namely "display component C1", "display C2 member "," display component C3 "and" display components C4 "data content processing, and the like.
由于在本发明实施例中,所有使用同一数据源的显示组件的数据内容均有且只有一个数据对象实例(即同一类型的数据将通过同一个数据对象实例来管理),所有的数据内容是该数据对象实例的输出,所有对数据的修改也是对于同一数据对象实例的修改,因此,在该数据模型里,数据内容的改动是实时同步的,所有的数据内容修改也可以保持一致,所以,采用该方案,可以大大提高数据的一致性。In the embodiment of the present invention, all the data components of the display component using the same data source have one and only one data object instance (that is, the same type of data will be managed by the same data object instance), and all the data content is The output of the data object instance, all the modifications to the data are also modifications to the same data object instance. Therefore, in the data model, the data content changes are synchronized in real time, and all data content modifications can be consistent, so This solution can greatly improve the consistency of data.
以下分别进行详细说明。需说明的是,以下实施例的序号不作为对实施例优选 顺序的限定。The details are described below separately. It should be noted that the serial numbers of the following embodiments are not preferred as examples. The order is limited.
在本实施例中,将以页面数据处理装置的角度进行描述,该页面数据处理装置具体可以集成在网络设备,比如终端或服务器中,该终端可以包括手机、平板电脑、笔记本电脑或个人计算机(PC,Personal Computer)等设备。In this embodiment, the description will be made in the perspective of a page data processing device, which may be integrated in a network device, such as a terminal or a server, and the terminal may include a mobile phone, a tablet computer, a notebook computer or a personal computer ( PC, Personal Computer) and other devices.
一种页面数据处理方法,包括:获取页面数据的处理请求,该处理请求指示目标显示组件和处理内容;根据该处理请求生成事件;根据该目标显示组件和处理内容确定相应的数据源,并确定使用到该数据源的所有显示组件;基于该事件对该所有显示组件的数据内容进行处理。A page data processing method includes: acquiring a processing request of page data, the processing request indicating a target display component and processing content; generating an event according to the processing request; determining a corresponding data source according to the target display component and the processing content, and determining Use all display components to the data source; process the data content of all display components based on the event.
如图1b所示,该页面数据处理方法的具体流程可以如下:As shown in FIG. 1b, the specific process of the page data processing method can be as follows:
101、获取页面数据的处理请求,其中,该处理请求指示目标显示组件和处理内容。101. Acquire a processing request of page data, wherein the processing request indicates a target display component and processing content.
其中,目标显示组件指的是该页面数据所对应的显示组件,所谓显示组件,指的是数据的使用者,具体可以是某个设备(比如终端)、设备中的模块、某个应用、应用中某个模块、页面、或页面中的一模块,等等。比如,当某页面a上的某个模块需要使用到数据A时,则该模块为该数据A在该页面a中的显示组件,若某页面b需要使用到数据B时,则该页面b为数据B的显示组件,若某终端k需要使用到数据C时,则该终端k为数据C的显示组件,等等,该显示组件拥有数据的使用权,能够使用数据,订阅数据,并提供数据的显示模板,等等。处理内容指的是具体的操作内容,比如下载、更新、或删除目标显示组件对应的内容等。The target display component refers to a display component corresponding to the page data, and the so-called display component refers to a user of the data, and specifically may be a device (such as a terminal), a module in the device, an application, an application. A module, page, or a module in a page, and so on. For example, when a module on a page a needs to use the data A, the module is the display component of the data A in the page a. If a page b needs to use the data B, the page b is The display component of the data B, if a terminal k needs to use the data C, the terminal k is a display component of the data C, and the like, the display component has the right to use the data, can use the data, subscribe to the data, and provide the data. Display template, and more. Processing content refers to specific operational content, such as downloading, updating, or deleting content corresponding to the target display component.
需说明的是,一个数据源可以对应一个显示组件,也可以对应多个显示组件,即多个显示组件可以使用同一数据源;而一个显示组件除了可以只对应一个数据源之外,同样也可以对应多个数据源,即根据不同的处理内容,同一显示组件可以使用不同的数据源,比如,以显示组件包括文本框A和文本框B为例,若处理内容为“对文本框A进行处理”,则可以确定该显示组件所对应的数据源为数据源D1,若处理内容为“对文本框B进行处理”,则可以确定该显示组件所对应的数据源为数据源D2,以此类推,等等。It should be noted that one data source may correspond to one display component, or may correspond to multiple display components, that is, multiple display components may use the same data source; and a display component may also correspond to only one data source, and may also Corresponding to multiple data sources, that is, according to different processing contents, the same display component can use different data sources, for example, the display component includes the text box A and the text box B as an example, if the processing content is “processing the text box A ", it can be determined that the data source corresponding to the display component is the data source D1, and if the processing content is "processing the text box B", it can be determined that the data source corresponding to the display component is the data source D2, and so on. ,and many more.
102、根据该处理请求生成事件。102. Generate an event according to the processing request.
例如,根据该处理请求调用相应的事件创建进程,然后,根据该处理请求中所请求的处理内容,利用该事件创建进程生成相应的事件,等等。 For example, a corresponding event creation process is invoked according to the processing request, and then, according to the processing content requested in the processing request, the event creation process is used to generate a corresponding event, and the like.
其中,所谓事件,指的是设备自身执行的某种动作,如单击(click)、下载(load)、以及鼠标悬停(mouseover)等,都属于具体的事件名称。Among them, the so-called event refers to some action performed by the device itself, such as click, download, and mouseover, all of which belong to specific event names.
比如,以单击为例,当用户在页面上单击某个按键以触发页面数据的处理请求时,该页面数据处理装置便可以监听到相应的单击事件,并响应该事件,比如,调用相应的事件处理程序(或函数),等等。其中,为了描述方便,在本发明实施例中,将监听到事件,以及响应事件的过程,称为事件的“生成”。For example, taking a click as an example, when a user clicks a button on a page to trigger a processing request of a page data, the page data processing device can monitor the corresponding click event and respond to the event, for example, calling The corresponding event handler (or function), and so on. For the convenience of description, in the embodiment of the present invention, the process of listening to an event and responding to an event is referred to as "generation" of the event.
103、根据该目标显示组件和处理内容确定相应的数据源,并确定使用到该数据源的所有显示组件。103. Determine a corresponding data source according to the target display component and the processing content, and determine all display components used to the data source.
例如,除了可以直接根据该目标显示组件和处理内容确定相应的数据源之外,也可以先确定该目标显示组件所使用的数据源,得到数据源集合,然后,从数据源集合中选择与该处理内容相应的数据源,等等。For example, in addition to determining the corresponding data source directly according to the target display component and the processing content, the data source used by the target display component may be first determined, the data source set is obtained, and then the data source set is selected from the data source set. Process the corresponding data source for content, and more.
比如,以显示组件C1、显示组件C2、显示组件C3和显示组件C4使用了同一数据源D1为例,若该处理请求中所指示的目标显示组件为“显示组件C1”,且指示的处理内容为“对显示组件C1的文本框A中所显示的数据进行处理”则此时,可以确定“显示组件C1”所使用的数据源为“数据源D1”,并确定使用该数据源D1的所有显示组件为:显示组件C1、显示组件C2、显示组件C3和显示组件C4,等等。For example, the display component C1, the display component C2, the display component C3, and the display component C4 use the same data source D1 as an example, if the target display component indicated in the processing request is "display component C1", and the indicated processing content In order to "process the data displayed in the text box A of the display component C1", at this time, it can be determined that the data source used by the "display component C1" is "data source D1", and it is determined that all of the data source D1 is used. The display components are: display component C1, display component C2, display component C3 and display component C4, and the like.
104、基于该事件对该所有显示组件的数据内容进行处理。例如,具体可以如下:104. Process the data content of all display components based on the event. For example, the details can be as follows:
当该事件被触发时,调用该数据源对应的数据对象实例,通过该数据对象实例对该所有显示组件的数据内容进行处理,比如进行更新等。When the event is triggered, the data object instance corresponding to the data source is called, and the data content of all the display components is processed through the data object instance, for example, updating.
可见,该事件会对相应的数据流进行扰动,使得当数据流中有数据发生变化的时候,可以对相关的所有显示组件(这些显示组件拥有这个数据调用权限)中的数据内容进行更新,从而保持数据的一致性和实时性。It can be seen that the event will perturb the corresponding data stream, so that when there is data change in the data stream, the data content in all related display components (the display components have the data call permission) can be updated, thereby Maintain data consistency and real-time.
为了便于管理,提高效率,可以以流的形式来对所有事件进行触发和管理,即步骤“基于该事件对该所有显示组件的数据内容进行处理”具体可以如下:In order to facilitate management and improve efficiency, all events can be triggered and managed in the form of a flow, that is, the step "processing the data content of all display components based on the event" can be as follows:
(1)将该事件添加至事件流。(1) Add the event to the event stream.
例如,可以获取该事件的事件属性,根据该事件属性将该事件添加至相应的事件流中。For example, you can get the event property of the event and add it to the corresponding event stream based on the event property.
其中,事件属性可以包括事件的生成时间、事件类型、和/或触发时间等信息, 而根据事件属性将事件添加至相应的事件流中的方式也可以有多种,比如,可以根据该事件属性确定该事件的触发时间,然后,按照该触发时间的先后顺序将该事件添加至相应的事件流的有序队列中,等等。The event attribute may include information such as an event generation time, an event type, and/or a trigger time. The event may be added to the corresponding event stream according to the event attribute. For example, the trigger time of the event may be determined according to the event attribute, and then the event is added to the corresponding sequence according to the trigger time. The order flow of the event stream, and so on.
为了降低资源消耗,以及提高处理效率,在对数据流进行扰动之前(即对显示组件的数据内容进行处理之前),可以按照预设的策略将事件流进行汇聚,比如可以将具有相同内容的事件进行合并,等等;即在步骤“根据该事件属性将该事件添加至相应的事件流”中之后,该页面数据处理方法还可以包括:In order to reduce resource consumption and improve processing efficiency, before the data stream is perturbed (that is, before the data content of the display component is processed), the event stream can be aggregated according to a preset policy, for example, an event having the same content can be After the merge, and so on; that is, after the step of adding the event to the corresponding event stream according to the event attribute, the page data processing method may further include:
确定事件流中存在相同内容的事件时,将具有相同内容的事件进行合并(或称为汇总)。When an event with the same content exists in the event stream, events with the same content are merged (or called a summary).
譬如,以该事件为单击事件为例,则此时,可以将单击事件流中具有相同内容的事件进行合并(即将两个单击事件进行合并)后,建立一个双击事件流,然后,将该事件添加至该双击事件流中。For example, taking the event as a click event, in this case, you can merge events with the same content in the click event stream (that is, merge two click events), then create a double-click event stream, and then, Add this event to the double-click event stream.
其中,其合并的方式可以通过时间器(timer)等具体的语言实现细节来实现,在此不再赘述。The manner of merging can be implemented by using specific language implementation details such as a timer, and details are not described herein again.
(2)基于该事件流对该所有显示组件的数据内容进行处理,例如,可以如下:(2) processing the data content of all display components based on the event stream, for example, as follows:
当事件流中的该事件被触发时,调用该数据源对应的数据对象实例,通过该数据对象实例对该所有显示组件的数据内容进行处理,此外,还可以对相应的事件,比如该数据对象包含的事件进行响应。When the event in the event stream is triggered, the data object instance corresponding to the data source is invoked, and the data content of all the display components is processed by the data object instance, and the corresponding event, such as the data object, may also be The included event responds.
其中,处理的方式可以有多种,比如,以该处理具体为数据更新为例,则具体可以包括同步更新和异步更新两种,简称同步和异步。其中,在同步的事件流处理中,将会保持数据流的同步变化,即当事件结束的同时,数据将发生同步变化。而对于异步的事件产生的数据流,则数据流将在异步事件响应之后,异步触发数据同步,在此不再赘述。The processing may be performed in a plurality of manners. For example, the processing is specifically an update of the data, and specifically, the synchronous update and the asynchronous update may be included, which are referred to as synchronous and asynchronous. Among them, in the synchronous event stream processing, the synchronous change of the data stream will be maintained, that is, when the event ends, the data will change synchronously. For the data stream generated by the asynchronous event, the data stream will trigger the data synchronization asynchronously after the asynchronous event response, and will not be described here.
为了便于后续查看和统计,还可以对相应的触发结果进行记录,即在步骤“基于该事件流对该所有显示组件的数据内容进行处理”之后,该页面数据处理方法还可以包括:In order to facilitate subsequent viewing and statistics, the corresponding triggering result may also be recorded, that is, after the step of “processing the data content of all the display components based on the event flow”, the page data processing method may further include:
记录处理的情况,得到该事件的触发结果。Record the processing situation and get the trigger result of the event.
另外,在得到该事件的触发结果之后,还可以对该事件流中的所有事件的触发结果进行统计,得到统计结果,并输出该统计结果。通过该统计结果,相关的开发 和维护人员便可以及时地获知该数据模型的执行情况,用户行为的趋势、以及热点事件等信息,从而有利于对该数据模型进行监控、维护和改进,以提高系统性能。In addition, after the trigger result of the event is obtained, the trigger result of all the events in the event stream may be statistically obtained, the statistical result is obtained, and the statistical result is output. Through the statistical results, related development And maintenance personnel can timely know the execution of the data model, the trend of user behavior, and hot events, which facilitates monitoring, maintenance, and improvement of the data model to improve system performance.
需说明的是,事件的生成和触发属于不同的操作,事件的触发时间可以与生成时间相同,也可以晚于生成时间,在此不再赘述。It should be noted that the generation and triggering of the event belong to different operations, and the triggering time of the event may be the same as the generating time, or may be later than the generating time, and will not be described here.
由上可知,本实施例在获取到页面数据的处理请求后,可以根据该处理请求生成事件,并根据该请求所指示的目标显示组件和处理内容确定相应的数据源,以及确定使用到该数据源的所有显示组件,然后,基于该事件对这些显示组件的数据内容进行处理;由于在该方案中,当某一事件触发时,可以对所有相关的显示组件的数据内容都进行处理,而不仅仅只是针对某一显示组件(即目标显示组件),所以,采用该方案,可以避免不同显示组件使用相同数据源时,数据不同步的情况,大大提高数据的一致性,以及提高数据处理效率。As can be seen from the above, after acquiring the processing request of the page data, the embodiment may generate an event according to the processing request, determine a corresponding data source according to the target display component and the processing content indicated by the request, and determine to use the data. All display components of the source, and then process the data content of these display components based on the event; since in this scenario, when an event is triggered, the data content of all related display components can be processed, not only It is only for a certain display component (ie, the target display component). Therefore, this scheme can avoid the situation that the data is not synchronized when different display components use the same data source, greatly improve data consistency, and improve data processing efficiency.
根据实施例所描述的方法,以下将举例作进一步详细说明。The method described in the examples will be further described in detail below by way of example.
在本实施例中,将以该页面数据处理装置具体可以集成在网络设备中为例进行说明。In this embodiment, the page data processing apparatus may be specifically integrated into the network device as an example for description.
如图2a所示,一种页面数据处理方法,该方法可以由页面数据处理装置执行,具体流程可以如下:As shown in FIG. 2a, a page data processing method can be executed by a page data processing apparatus, and the specific process can be as follows:
201、网络设备获取页面数据的处理请求,其中,该处理请求指示目标显示组件和处理内容。201. A network device acquires a processing request of page data, wherein the processing request indicates a target display component and processing content.
其中,目标显示组件指的是该页面数据所对应的显示组件,处理内容指的是具体的操作内容,比如下载、更新、或删除等。The target display component refers to a display component corresponding to the page data, and the processing content refers to a specific operation content, such as downloading, updating, or deleting.
例如,以该网络设备具体为终端为例,则当用户在终端上进行操作,比如在终端屏幕上,对页面进行单击操作时,终端便可以接收到关于该页面数据的处理请求。For example, if the network device is specifically a terminal, when the user performs operations on the terminal, for example, when the page is clicked on the terminal screen, the terminal can receive a processing request for the page data.
又例如,以该网络设备具体为服务器为例,则当用户在网页上进行操作,比如对某网页进行单击操作时,则终端可以根据该单击操作生成相应的页面数据的处理请求,然后,向服务器发送该处理请求,即此时,服务器可以接收到终端发送的页面数据的处理请求。For example, if the network device is specifically a server, when the user performs an operation on a webpage, for example, when a webpage is clicked, the terminal may generate a corresponding page data processing request according to the click operation, and then Sending the processing request to the server, that is, the server can receive the processing request of the page data sent by the terminal.
202、网络设备根据该处理请求生成事件;其中,该事件包括事件属性,事件属性可以包括事件的生成时间、事件类型、和/或触发时间等信息。202. The network device generates an event according to the processing request. The event includes an event attribute, and the event attribute may include information such as an event generation time, an event type, and/or a trigger time.
例如,网络设备可以根据该处理请求调用相应的事件创建进程,然后,根据该 处理请求中所请求的处理内容,利用该事件创建进程生成相应的事件,等等。For example, the network device can invoke the corresponding event creation process according to the processing request, and then, according to the Processing the requested content in the request, using the event creation process to generate the corresponding event, and so on.
其中,该事件可以包括单击(click)、下载(load)、以及鼠标悬停(mouseover)等。The event may include a click, a download, a mouseover, and the like.
比如,以目标显示组件为“显示组件C1”,且处理内容为“下载页面数据A”为例,则此时,可以调用相应的事件创建进程,利用该事件创建进程生成相应的事件,如事件E1(参见图2b),使得该生成的事件(比如事件E1)可以实现“下载页面数据A”的操作。For example, taking the target display component as “display component C1” and the processing content as “downloading page data A” as an example, at this time, the corresponding event creation process can be invoked, and the event creation process is used to generate a corresponding event, such as an event. E1 (see Fig. 2b), such that the generated event (such as event E1) can implement the operation of "download page data A".
又比如,以目标显示组件为“显示组件C1”,且处理内容为“更新页面数据B”为例,则此时,可以调用相应的事件创建进程,利用该事件创建进程生成相应的事件,如事件E2(参见图2b),使得该生成的事件(比如事件E2)可以实现“更新页面数据B”的操作。For another example, taking the target display component as “display component C1” and the processing content as “update page data B” as an example, at this time, the corresponding event creation process can be invoked, and the event creation process is used to generate a corresponding event, such as Event E2 (see Figure 2b), such that the generated event (such as event E2) can implement the operation of "update page data B".
203、网络设备根据该目标显示组件和处理内容确定相应的数据源。203. The network device determines a corresponding data source according to the target display component and the processing content.
例如,网络设备可以确定该目标显示组件使用的所有数据源,得到数据源集合,然后,从该数据源集合中选择与该处理内容相应的数据源。For example, the network device can determine all data sources used by the target display component, obtain a data source set, and then select a data source corresponding to the processed content from the data source set.
比如,参见图2b,以显示组件C1、显示组件C2和显示组件C3使用了同一数据源D1,显示组件C1和显示组件C2使用了同一数据源D2,且显示组件C1中关于“下载页面数据A”的部分所对应的数据源为“数据源D1”,显示组件C1中关于“更新页面数据B”的部分所对应的数据源为“数据源D2”为例,则具体可以如下:For example, referring to FIG. 2b, the same data source D1 is used to display the component C1, the display component C2 and the display component C3. The display component C1 and the display component C2 use the same data source D2, and the display component C1 is related to "download page data A". The data source corresponding to the part is "data source D1", and the data source corresponding to the part of the display component C1 regarding "update page data B" is "data source D2" as an example, which may be specifically as follows:
若该处理请求中所指示的目标显示组件为“显示组件C1”,且处理内容为“下载页面数据A”,那么此时,便可以确定事件E1所对应的数据源为“数据源D1”。If the target display component indicated in the processing request is "display component C1" and the processing content is "download page data A", then at this time, it can be determined that the data source corresponding to the event E1 is "data source D1".
而若该处理请求中所指示的目标显示组件为“显示组件C1”,且处理内容为“更新页面数据B”,那么此时,便可以确定事件E2所对应的数据源为“数据源D2”。If the target display component indicated in the processing request is "display component C1" and the processing content is "update page data B", then at this time, it can be determined that the data source corresponding to the event E2 is "data source D2". .
需说明的是,在本发明实施例中,目标显示组件和处理内容所对应的数据源相当于事件所对应的数据源。It should be noted that, in the embodiment of the present invention, the data source corresponding to the target display component and the processing content is equivalent to the data source corresponding to the event.
204、网络设备确定使用到该数据源的所有显示组件。204. The network device determines all display components used to the data source.
例如,还是以步骤203中的例子为例,若确定的数据源为“数据源D1”,则此时,可以确定使用该数据源D1的所有显示组件为:显示组件C1、显示组件C2和显示组件C3;同理,若确定的数据源为“数据源D2”,则此时,可以确定使用该数据源D2的所有显示组件为:显示组件C1和显示组件C2。 For example, taking the example in step 203 as an example, if the determined data source is “data source D1”, then at this time, it can be determined that all display components using the data source D1 are: display component C1, display component C2, and display. Component C3; Similarly, if the determined data source is "data source D2", then at this time, it can be determined that all display components using the data source D2 are: display component C1 and display component C2.
205、网络设备根据事件属性确定该事件的触发时间,按照该触发时间的先后顺序将该事件添加至相应的事件流的有序队列中。205. The network device determines, according to the event attribute, a trigger time of the event, and adds the event to the ordered queue of the corresponding event flow according to the sequence of the trigger time.
为了降低资源消耗,以及提高处理效率,在对显示组件的数据内容进行处理之前,可以按照预设的策略将事件流进行汇聚,比如可以将具有相同内容的事件进行合并,等等;即在将该事件添加至相应的事件流的有序队列中之后,还可以执行如下操作:In order to reduce resource consumption and improve processing efficiency, before the data content of the display component is processed, the event stream may be aggregated according to a preset policy, for example, events with the same content may be merged, etc.; After the event is added to the ordered queue of the corresponding event flow, you can also do the following:
确定事件流中是否存在相同内容的事件,若不存在,则无需进行合并,反之,若存在,则将具有相同内容的事件进行合并。Determine whether there is an event of the same content in the event stream. If it does not exist, no merge is needed. Otherwise, if it exists, events with the same content are merged.
例如,以该事件为单击事件为例,则此时,可以将单击事件流中具有相同内容的单击事件进行合并后,建立一个双击事件流,然后,将该事件添加至该双击事件流中。比如,参见图2c,若单击事件流中的单击事件E3和E4具有相同的内容,则可以将其合并为双击事件流中的双击事件E5;同理,可以将单击事件流中的单击事件E6和E7合并为双击事件流中的双击事件E8,等等。For example, taking the event as a click event, in this case, you can merge the click events with the same content in the click event stream, create a double-click event stream, and then add the event to the double-click event. In the stream. For example, referring to Figure 2c, if the click events E3 and E4 in the event stream have the same content, they can be merged into a double-click event E5 in the double-click event stream; similarly, the click event stream can be Click on events E6 and E7 to merge into double-click event E8 in the double-click event stream, and so on.
其中,合并的方式可以通过timer等具体的语言来实现,在此不再赘述。The merge mode can be implemented by a specific language such as a timer, and is not described here.
206、网络设备基于该事件流对该所有显示组件的数据内容进行处理。206. The network device processes the data content of all display components based on the event flow.
例如,以该处理具体为更新操作为例,参见图2b,事件流中的事件E1被触发时,由于事件E1相应的数据源为D1,因此,此时可以调用数据源D1对应的数据对象实例,然后,通过该数据对象实例对数据源D1所对应的所有显示组件,即显示组件C1、显示组件C2和显示组件C3中的数据内容进行更新。For example, if the processing is specifically an update operation, as shown in FIG. 2b, when the event E1 in the event stream is triggered, since the corresponding data source of the event E1 is D1, the data object instance corresponding to the data source D1 can be called at this time. Then, the data content in the display component C1, the display component C2, and the display component C3 are updated by the data object instance to all the display components corresponding to the data source D1.
同理,在事件流中的事件E2被触发时,由于事件E2相应的数据源为D2,因此,此时可以调用数据源D2对应的数据对象实例,然后,通过该数据对象实例对数据源D2所对应的所有显示组件,即显示组件C1和显示组件C2中的数据内容进行更新,以此类推,等等。Similarly, when the event E2 in the event stream is triggered, since the corresponding data source of the event E2 is D2, the data object instance corresponding to the data source D2 can be called at this time, and then the data source D2 is passed through the data object instance. All corresponding display components, that is, the data contents in the display component C1 and the display component C2 are updated, and so on, and so on.
其中,更新可以包括同步和异步,在同步的事件流处理中,将会保持数据流的同步变化,即当事件结束的同时,数据将发生同步变化。而对于异步的事件产生的数据流,则数据流将在异步事件响应之后,异步触发数据同步,在此不再赘述。Among them, the update may include synchronous and asynchronous. In the synchronized event stream processing, the synchronous change of the data stream will be maintained, that is, when the event ends, the data will change synchronously. For the data stream generated by the asynchronous event, the data stream will trigger the data synchronization asynchronously after the asynchronous event response, and will not be described here.
此外,在对该所有显示组件的数据内容进行处理之后,还可以对相应的事件,比如该数据对象包含的事件进行响应,在此不再赘述。In addition, after the data content of all the display components is processed, the corresponding event, such as the event included in the data object, may also be responded to, and details are not described herein.
为了便于后续查看和统计,还可以对相应的触发结果进行记录和统计,即,还 可以执行步骤207~209,如下:In order to facilitate subsequent viewing and statistics, the corresponding trigger results can also be recorded and counted, that is, Steps 207-209 can be performed as follows:
207、网络设备记录处理的情况,比如记录各个显示组件的数据内容更新的情况,得到该事件的触发结果。207. The network device records processing, for example, recording a data content update of each display component, and obtaining a trigger result of the event.
208、网络设备对该事件流中的所有事件的触发结果进行统计,得到统计结果。208. The network device performs statistics on the triggering results of all events in the event flow, and obtains a statistical result.
209、网络设备输出该统计结果。209. The network device outputs the statistical result.
通过该统计结果,相关的开发和维护人员便可以及时地获知该数据模型的执行情况,用户行为的趋势、以及热点事件等信息,从而有利于对该数据模型进行监控、维护和改进,以提高系统性能。Through the statistical results, relevant development and maintenance personnel can timely know the execution of the data model, the trend of user behavior, and hotspot events, thereby facilitating monitoring, maintenance, and improvement of the data model to improve System performance.
由上可知,由于在本发明实施例所提供的方案中,与数据对象实例对应的,不是事件,而是数据源,这就意味着,使用相同数据源的显示组件都会使用同一数据对象实例,因此,当数据对象实例发生改动时,使用该数据对象实例的所有显示组件中的数据内容也会发生改动,也就是说,当某一事件触发时,可以对所有相关的显示组件的数据内容都进行处理,而不仅仅只是针对某一显示组件,所以,采用该方案,可以避免不同显示组件使用相同数据源时,数据不同步的情况,大大提高数据的一致性,可以适用于处理重交互,高频率同步的应用场景,此外,还可以提高数据处理效率。It can be seen from the above that, in the solution provided by the embodiment of the present invention, the data object instance is not an event but a data source, which means that the display component using the same data source will use the same data object instance. Therefore, when the data object instance changes, the data content in all display components of the data object instance will also be changed, that is, when an event is triggered, the data content of all related display components can be Processing, not just for a certain display component, so this solution can avoid the situation that different display components use the same data source, the data is not synchronized, greatly improve the consistency of the data, and can be applied to handle heavy interaction. High frequency synchronization application scenarios, in addition, can also improve data processing efficiency.
为了更好地实施以上方法,本发明实施例还提供一种页面数据处理装置,如图3a,该页面数据处理装置可以包括获取单元301、生成单元302、确定单元303和处理单元304,如下:In order to better implement the above method, the embodiment of the present invention further provides a page data processing apparatus. As shown in FIG. 3a, the page data processing apparatus may include an obtaining unit 301, a generating unit 302, a determining unit 303, and a processing unit 304, as follows:
(1)获取单元301;(1) acquisition unit 301;
获取单元301,用于获取页面数据的处理请求,该处理请求指示目标显示组件和处理内容。The obtaining unit 301 is configured to acquire a processing request of the page data, where the processing request indicates the target display component and the processing content.
其中,目标显示组件指的是该页面数据所对应的显示组件,处理内容指的是具体的操作内容,比如下载、更新、或删除等。The target display component refers to a display component corresponding to the page data, and the processing content refers to a specific operation content, such as downloading, updating, or deleting.
(2)生成单元302;(2) generating unit 302;
生成单元302,用于根据该处理请求生成事件。The generating unit 302 is configured to generate an event according to the processing request.
其中,该事件包括事件属性,事件属性可以包括事件的生成时间、事件类型、和/或触发时间等信息。The event includes an event attribute, and the event attribute may include information such as an event generation time, an event type, and/or a trigger time.
(3)确定单元303; (3) determining unit 303;
确定单元303,用于根据该目标显示组件和处理内容确定相应的数据源,并确定使用到该数据源的所有显示组件。The determining unit 303 is configured to determine a corresponding data source according to the target display component and the processing content, and determine to use all display components to the data source.
例如,该确定单元303,具体可以确定该目标显示组件所使用的数据源,得到数据源集合,然后,从数据源集合中选择与该处理内容相应的数据源,等等,具体可参见前面的方法实施例,在此不再赘述。For example, the determining unit 303 may specifically determine a data source used by the target display component, obtain a data source set, and then select a data source corresponding to the processing content from the data source set, etc., as described above. Method embodiments are not described herein again.
(4)处理单元304;(4) processing unit 304;
处理单元304,用于基于该事件对该所有显示组件的数据内容进行处理。The processing unit 304 is configured to process data content of all display components based on the event.
例如,该处理单元304,具体可以用于当该事件被触发时,调用该数据源对应的数据对象实例,通过该数据对象实例对该所有显示组件的数据内容进行处理,比如进行更新等。For example, the processing unit 304 may be specifically configured to: when the event is triggered, invoke an instance of the data object corresponding to the data source, and process, by the data object instance, the data content of all the display components, such as performing an update.
此外,在对该所有显示组件的数据内容进行处理之后,处理单元304还可以对相应的事件,比如该数据对象包含的事件进行响应,在此不再赘述。In addition, after processing the data content of all the display components, the processing unit 304 may also respond to the corresponding event, such as the event included in the data object, and details are not described herein.
为了便于管理,提高效率,可以以流的形式来对所有事件进行触发和管理,即该处理单元304可以包括添加子单元和更新子单元,如下:In order to facilitate management and improve efficiency, all events can be triggered and managed in the form of a stream, that is, the processing unit 304 can include an add subunit and an update subunit, as follows:
该添加子单元,可以用于将该事件添加至事件流;比如,可以获取该事件的事件属性,根据该事件属性将该事件添加至相应的事件流中,等等。The add subunit can be used to add the event to the event stream; for example, an event attribute of the event can be obtained, the event is added to the corresponding event stream according to the event attribute, and the like.
其中,事件属性可以包括事件的生成时间、事件类型、和/或触发时间等信息,而根据事件属性将事件添加至相应的事件流中的方式也可以有多种,比如,可以根据该事件属性确定该事件的触发时间,然后,按照该触发时间的先后顺序将该事件添加至相应的事件流的有序队列中,等等。The event attribute may include information such as an event generation time, an event type, and/or a trigger time, and the manner in which the event is added to the corresponding event stream according to the event attribute may also be various, for example, according to the event attribute. Determine the trigger time of the event, then add the event to the ordered queue of the corresponding event stream in the order of the trigger time, and so on.
更新子单元,用于基于该事件流对该所有显示组件的数据内容进行处理。An update subunit is configured to process data content of all display components based on the event stream.
例如,该更新子单元,具体可以用于当事件流中的该事件被触发时,调用该数据源对应的数据对象实例,通过该数据对象实例对该所有显示组件的数据内容进行处理。For example, the update subunit may be specifically configured to invoke an instance of the data object corresponding to the data source when the event in the event stream is triggered, and process the data content of all the display components by using the data object instance.
为了降低资源消耗,以及提高处理效率,在对显示组件的数据内容进行处理之前,可以按照预设的策略将事件流进行汇聚,比如可以将具有相同内容的事件进行合并,等等;即该处理单元还可以包括合并子单元,如下:In order to reduce resource consumption and improve processing efficiency, before the data content of the display component is processed, the event stream may be aggregated according to a preset policy, for example, events having the same content may be merged, and the like; The unit may also include a merge subunit as follows:
该合并子单元,用于在确定数据流中存在相同内容的事件时,将具有相同内容的事件进行合并。 The merging subunit is configured to merge events having the same content when determining that an event of the same content exists in the data stream.
譬如,以该事件为单击事件为例,则此时,合并子单元可以将单击事件流中具有相同内容的事件进行合并(即将两个单击事件进行合并)后,建立一个双击事件流,然后,将该事件添加至该双击事件流中。For example, taking the event as a click event, at this time, the merge subunit can merge the events with the same content in the click event stream (that is, merge the two click events), and then create a double click event stream. And then add the event to the double-click event stream.
其中,其合并的方式可以通过timer等具体的语言来实现,在此不再赘述。The method of merging can be implemented by a specific language such as a timer, and details are not described herein again.
为了便于后续查看和统计,还可以对相应的触发结果进行记录,即如图3b所示,该页面数据处理装置还可以包括记录单元305,如下:In order to facilitate subsequent viewing and statistics, the corresponding triggering result may also be recorded. As shown in FIG. 3b, the page data processing apparatus may further include a recording unit 305, as follows:
记录单元305,可以用于记录处理单元304处理的情况,得到该事件的触发结果。The recording unit 305 can be used to record the processing of the processing unit 304 to obtain a trigger result of the event.
另外,在得到该事件的触发结果之后,还可以对该事件流中的所有事件的触发结果进行统计,以供相关人员进行参考和分析,即如图3b所示,该页面数据处理装置还可以包括统计单元306,如下:In addition, after the triggering result of the event is obtained, the triggering result of all the events in the event stream may be counted for reference and analysis by the relevant personnel, that is, as shown in FIG. 3b, the page data processing device may also be A statistical unit 306 is included as follows:
统计单元306,可以用于对该事件流中的所有事件的触发结果进行统计,得到统计结果,输出该统计结果。The statistics unit 306 can be configured to perform statistics on the triggering results of all events in the event stream, obtain statistical results, and output the statistical result.
具体实施时,以上各个单元可以分别作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个单元的具体实施可参见前面的方法实施例,在此不再赘述。In the specific implementation, the foregoing units may be implemented as separate entities, and may be implemented in any combination, and may be implemented as the same entity or a plurality of entities. For the specific implementation of the foregoing, refer to the foregoing method embodiments, and details are not described herein again. .
该页面数据处理装置具体可以集成在网络设备,比如终端或服务器中,该终端可以包括手机、平板电脑、笔记本电脑或PC等设备。The page data processing device may be specifically integrated in a network device, such as a terminal or a server, and the terminal may include a device such as a mobile phone, a tablet computer, a notebook computer, or a PC.
由上可知,本发明实施例的页面数据处理装置在获取到页面数据的处理请求后,可以由生成单元302根据该处理请求生成事件,并由确定单元303根据该请求所指示的目标显示组件和处理内容确定相应的数据源,以及确定使用到该数据源的所有显示组件,然后,由处理单元304基于该事件对这些显示组件的数据内容进行处理;由于在该方案中,当某一事件触发时,可以对所有相关的显示组件的数据内容都进行处理,而不仅仅只是针对某一显示组件(即目标显示组件),所以,采用该方案,可以避免不同显示组件使用相同数据源时,数据不同步的情况,大大提高数据的一致性,以及提高数据处理效率。As can be seen from the above, after the page data processing apparatus of the embodiment of the present invention acquires the processing request of the page data, the generating unit 302 can generate an event according to the processing request, and the determining unit 303 displays the component according to the target indicated by the request. Processing the content determines the corresponding data source, and determining all display components used to the data source, and then processing the data content of the display components based on the event by the processing unit 304; since in this scenario, when an event is triggered When the data content of all relevant display components can be processed, not just for a certain display component (ie, the target display component), so this solution can avoid data when different display components use the same data source. Unsynchronized situations greatly improve data consistency and improve data processing efficiency.
本发明实施例还提供一种网络设备,该网络设备具体可以是终端,也可以是服务器,该终端可以包括手机、平板电脑、笔记本电脑或PC等设备。如图4所示,其示出了本发明实施例所涉及的网络设备的结构示意图,具体来讲: The embodiment of the invention further provides a network device, which may be a terminal or a server, and the terminal may include a mobile phone, a tablet computer, a notebook computer or a PC. As shown in FIG. 4, it shows a schematic structural diagram of a network device according to an embodiment of the present invention, specifically:
该网络设备可以包括一个或者一个以上处理核心的处理器401、一个或一个以上计算机可读存储介质的存储器402、射频(Radio Frequency,RF)电路403、电源404、输入单元405、以及显示单元406等部件。本领域技术人员可以理解,图4中示出的网络设备结构并不构成对网络设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:The network device may include one or more processing core processor 401, one or more computer readable storage medium memories 402, a radio frequency (RF) circuit 403, a power source 404, an input unit 405, and a display unit 406. And other components. It will be understood by those skilled in the art that the network device structure illustrated in FIG. 4 does not constitute a limitation to the network device, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements. among them:
处理器401是该网络设备的控制中心,利用各种接口和线路连接整个网络设备的各个部分,通过运行或执行存储在存储器402内的软件程序和/或模块,以及调用存储在存储器402内的数据,执行网络设备的各种功能和处理数据,从而对网络设备进行整体监控。处理器401可包括一个或多个处理核心;处理器401可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器401中。The processor 401 is the control center of the network device, connecting various portions of the entire network device using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 402, and recalling stored in the memory 402. Data, performing various functions of the network device and processing data, thereby performing overall monitoring of the network device. The processor 401 may include one or more processing cores; the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, etc., and the modem processor mainly Handle wireless communications. It can be understood that the above modem processor may not be integrated into the processor 401.
存储器402可用于存储软件程序以及模块,处理器401通过运行存储在存储器402的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器402可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据网络设备的使用所创建的数据等。此外,存储器402可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器402还可以包括存储器控制器,以提供处理器401对存储器402的访问。The memory 402 can be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by running software programs and modules stored in the memory 402. The memory 402 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to the network. Data created by the use of the device, etc. Moreover, memory 402 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 402 can also include a memory controller to provide processor 401 access to memory 402.
RF电路403可用于收发信息过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器401处理;另外,将涉及上行的数据发送给基站。通常,RF电路403包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、低噪声放大器(LNA,Low Noise Amplifier)、双工器等。此外,RF电路403还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(GSM,Global System of Mobile communication)、通用分组无线服务(GPRS,General Packet Radio Service)、码分多址(CDMA,Code Division Multiple Access)、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)、长 期演进(LTE,Long Term Evolution)、电子邮件、短消息服务(SMS,Short Messaging Service)等。The RF circuit 403 can be used for receiving and transmitting signals during the process of transmitting and receiving information. Specifically, after receiving the downlink information of the base station, the downlink information is processed by one or more processors 401. In addition, the data related to the uplink is sent to the base station. Generally, the RF circuit 403 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, and a Low Noise Amplifier (LNA). , duplexer, etc. In addition, RF circuitry 403 can also communicate with the network and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), and Code Division Multiple Access (CDMA). , Code Division Multiple Access), Wideband Code Division Multiple Access (WCDMA), long LTE (Long Term Evolution), e-mail, Short Message Service (SMS), etc.
网络设备还包括给各个部件供电的电源404(比如电池),优选的,电源404可以通过电源管理系统与处理器401逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源404还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The network device also includes a power source 404 (such as a battery) that supplies power to the various components. Preferably, the power source 404 can be logically coupled to the processor 401 through the power management system to manage functions such as charging, discharging, and power management through the power management system. . The power supply 404 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
该网络设备还可包括输入单元405,该输入单元405可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,在一个具体的实施例中,输入单元405可包括触敏表面以及其他输入设备。触敏表面,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面上或在触敏表面附近的操作),并根据预先设定的程式驱动相应的连接装置。触敏表面可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器401,并能接收处理器401发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面。除了触敏表面,输入单元405还可以包括其他输入设备。具体地,其他输入设备可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The network device can also include an input unit 405 that can be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls. In particular, in one particular embodiment, input unit 405 can include a touch-sensitive surface as well as other input devices. Touch-sensitive surfaces, also known as touch screens or trackpads, collect touch operations on or near the user (such as the user using a finger, stylus, etc., any suitable object or accessory on a touch-sensitive surface or touch-sensitive Operation near the surface), and drive the corresponding connecting device according to a preset program. The touch sensitive surface can include two portions of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 401 is provided and can receive commands from the processor 401 and execute them. In addition, touch-sensitive surfaces can be implemented in a variety of types, including resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface, the input unit 405 can also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
该网络设备还可包括显示单元406,该显示单元406可用于显示由用户输入的信息或提供给用户的信息以及网络设备的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元406可包括显示面板,可以采用液晶显示器(LCD,Liquid Crystal Display)、有机发光二极管(OLED,Organic Light-Emitting Diode)等形式来配置显示面板。进一步的,触敏表面可覆盖显示面板,当触敏表面检测到在其上或附近的触摸操作后,传送给处理器401以确定触摸事件的类型,随后处理器401根据触摸事件的类型在显示面板上提供相应的视觉输出。虽然在图4中,触敏表面与显示面板是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面与显示面板集成而实现输入和 输出功能。The network device can also include a display unit 406 that can be used to display information entered by the user or information provided to the user and various graphical user interfaces of the network device, which can be graphical, textual, iconic, Video and any combination of them. The display unit 406 may include a display panel, and the display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may cover the display panel, and when the touch-sensitive surface detects a touch operation thereon or nearby, it is transmitted to the processor 401 to determine the type of the touch event, and then the processor 401 displays the type according to the touch event. A corresponding visual output is provided on the panel. Although in FIG. 4, the touch-sensitive surface and display panel are implemented as two separate components to perform input and input functions, in some embodiments, the touch-sensitive surface can be integrated with the display panel to achieve input and Output function.
尽管未示出,网络设备还可以包括摄像头、蓝牙模块等,在此不再赘述。具体在本实施例中,网络设备中的处理器401会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器402中,并由处理器401来运行存储在存储器402中的应用程序,从而实现各种功能,如下:Although not shown, the network device may further include a camera, a Bluetooth module, and the like, and details are not described herein again. Specifically, in this embodiment, the processor 401 in the network device loads the executable file corresponding to the process of one or more applications into the memory 402 according to the following instruction, and is stored and stored by the processor 401. The application in memory 402, thereby implementing various functions, as follows:
获取页面数据的处理请求,其中,该处理请求指示目标显示组件和处理内容;根据该处理请求生成事件,并根据该目标显示组件和处理内容确定相应的数据源,以及确定使用到该数据源的所有显示组件,基于该事件对该所有显示组件的数据内容进行处理。Obtaining a processing request of the page data, wherein the processing request indicates the target display component and the processing content; generating an event according to the processing request, determining a corresponding data source according to the target display component and the processing content, and determining to use the data source All display components process the data content of all display components based on the event.
其中,基于该事件对该所有显示组件的数据内容进行处理的方式可以有多种,比如,可以如下:The manner in which the data content of all display components is processed based on the event may be various, for example, as follows:
当该事件被触发时,调用该数据源对应的数据对象实例,通过该数据对象实例对该所有显示组件的数据内容进行处理,比如进行更新等。When the event is triggered, the data object instance corresponding to the data source is called, and the data content of all the display components is processed through the data object instance, for example, updating.
此外,在对该所有显示组件的数据内容进行处理之后,还可以对相应的事件,比如该数据对象包含的事件进行响应,在此不再赘述。In addition, after the data content of all the display components is processed, the corresponding event, such as the event included in the data object, may also be responded to, and details are not described herein.
为了便于管理,提高效率,可以以流的形式来对所有事件进行触发和管理,即该存储在存储器402中的应用程序,还可以实现如下功能:In order to facilitate management and improve efficiency, all events can be triggered and managed in the form of a stream, that is, the application stored in the memory 402 can also implement the following functions:
将该事件添加至事件流,比如,可以获取该事件的事件属性,根据该事件属性将该事件添加至相应的事件流中,然后,基于该事件流对该所有显示组件的数据内容进行处理,比如对该所有显示组件的数据内容进行更新,等等。Adding the event to the event stream, for example, acquiring an event attribute of the event, adding the event to the corresponding event stream according to the event attribute, and then processing the data content of all display components based on the event stream, For example, to update the data content of all display components, and so on.
为了降低资源消耗,以及提高处理效率,在对显示组件的数据内容进行处理之前,可以按照预设的策略将事件流进行汇聚,比如可以将具有相同内容的事件进行合并,等等;即该存储在存储器402中的应用程序,还可以实现如下功能:In order to reduce resource consumption and improve processing efficiency, before the data content of the display component is processed, the event stream may be aggregated according to a preset policy, for example, events having the same content may be merged, etc.; that is, the storage The application in the memory 402 can also implement the following functions:
确定事件流中存在相同内容的事件时,将具有相同内容的事件进行合并。When events that have the same content in the event stream are identified, events with the same content are merged.
譬如,以该事件为单击事件为例,则此时,可以将单击事件流中具有相同内容的事件进行合并后,建立一个双击事件流,然后,将该事件添加至该双击事件流中。For example, taking the event as a click event, in this case, you can merge events with the same content in the click event stream, create a double-click event stream, and then add the event to the double-click event stream. .
为了便于后续查看和统计,还可以对相应的触发结果进行记录,即该存储在存储器402中的应用程序,还可以实现如下功能:In order to facilitate subsequent viewing and statistics, the corresponding triggering result may also be recorded, that is, the application stored in the memory 402 may also implement the following functions:
记录处理的情况,得到该事件的触发结果。 Record the processing situation and get the trigger result of the event.
另外,在得到该事件的触发结果之后,还可以对该事件流中的所有事件的触发结果进行统计,得到统计结果,并输出该统计结果。In addition, after the trigger result of the event is obtained, the trigger result of all the events in the event stream may be statistically obtained, the statistical result is obtained, and the statistical result is output.
通过该统计结果,相关的开发和维护人员便可以及时地获知该数据模型的执行情况,用户行为的趋势、以及热点事件等信息,从而有利于对该数据模型进行监控、维护和改进,以提高系统性能。Through the statistical results, relevant development and maintenance personnel can timely know the execution of the data model, the trend of user behavior, and hotspot events, thereby facilitating monitoring, maintenance, and improvement of the data model to improve System performance.
以上各个操作的具体实施可参见前面的实施例,在此不再赘述。For the specific implementation of the foregoing operations, refer to the foregoing embodiments, and details are not described herein again.
由上可知,本发明实施例的网络设备在获取到页面数据的处理请求后,可以根据该处理请求生成事件,并根据该请求所指示的目标显示组件和处理内容确定相应的数据源,以及确定使用到该数据源的所有显示组件,然后,基于该事件对这些显示组件的数据内容进行处理;由于在该方案中,当某一事件触发时,可以对所有相关的显示组件的数据内容都进行处理,而不仅仅只是针对某一显示组件(即目标显示组件),所以,采用该方案,可以避免不同显示组件使用相同数据源时,数据不同步的情况,大大提高数据的一致性,以及提高数据处理效率。It can be seen that, after obtaining the processing request of the page data, the network device in the embodiment of the present invention may generate an event according to the processing request, determine a corresponding data source according to the target display component and the processing content indicated by the request, and determine Using all display components of the data source, and then processing the data content of the display components based on the event; since in this scenario, when an event is triggered, the data content of all relevant display components can be performed Processing, not just for a certain display component (ie, target display component), so this solution can avoid data synchronization when different display components use the same data source, greatly improve data consistency, and improve Data processing efficiency.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be performed by a program to instruct related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.
以上对本发明实施例所提供的一种页面数据处理方法和装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 The method and apparatus for processing page data provided by the embodiments of the present invention are described in detail above. The principles and implementation manners of the present invention are described in the specific examples. The description of the above embodiments is only used to help understand the present invention. The method of the invention and its core idea; at the same time, those skilled in the art, according to the idea of the present invention, there are some changes in the specific implementation and application scope. In summary, the content of the specification should not be understood as Limitations of the invention.

Claims (13)

  1. 一种页面数据处理方法,其特征在于,应用于页面数据处理装置,该方法包括:A page data processing method is characterized by being applied to a page data processing apparatus, the method comprising:
    获取页面数据的处理请求,所述处理请求指示目标显示组件和处理内容;Obtaining a processing request of page data, the processing request indicating a target display component and processing content;
    根据所述处理请求生成事件;Generating an event according to the processing request;
    根据所述目标显示组件和处理内容确定相应的数据源;Determining a corresponding data source according to the target display component and the processing content;
    确定使用到所述数据源的所有显示组件;Determining all display components used to the data source;
    基于所述事件对所述所有显示组件的数据内容进行处理。The data content of all of the display components is processed based on the event.
  2. 根据权利要求1所述的方法,其特征在于,所述基于所述事件对所述所有显示组件的数据内容进行处理,包括:The method according to claim 1, wherein the processing the data content of the display components based on the event comprises:
    将所述事件添加至事件流;Add the event to the event stream;
    基于所述事件流对所述所有显示组件的数据内容进行处理。The data content of all of the display components is processed based on the event stream.
  3. 根据权利要求2所述的方法,其特征在于,所述将所述事件添加至事件流,包括:The method of claim 2, wherein the adding the event to the event stream comprises:
    获取所述事件的事件属性;Get the event attribute of the event;
    根据所述事件属性将所述事件添加至相应的事件流中。The event is added to the corresponding event stream according to the event attribute.
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述事件属性将所述事件添加至相应的事件流中之后,还包括:The method according to claim 3, after the adding the event to the corresponding event stream according to the event attribute, further comprising:
    确定事件流中存在相同内容的事件时,将具有相同内容的事件进行合并。When events that have the same content in the event stream are identified, events with the same content are merged.
  5. 根据权利要求4所述的方法,其特征在于,所述将具有相同内容的事件进行合并,包括:The method of claim 4 wherein said merging events having the same content comprises:
    将具有相同内容的事件进行合并后,建立一个双击事件流;After merging events with the same content, create a double-click event stream;
    将所述事件添加至所述双击事件流中。Adding the event to the double click event stream.
  6. 根据权利要求3至5任一项所述的方法,其特征在于,所述根据所述事件属性将所述事件添加至相应的事件流中,包括:The method according to any one of claims 3 to 5, wherein the adding the event to the corresponding event stream according to the event attribute comprises:
    根据所述事件属性确定所述事件的触发时间;Determining a trigger time of the event according to the event attribute;
    按照所述触发时间的先后顺序将所述事件添加至相应的事件流的有序队列中。The events are added to the ordered queue of corresponding event streams in the order of the trigger times.
  7. 根据权利要求1至5任一项所述的方法,其特征在于,所述基于所述事件对 所述所有显示组件的数据内容进行处理,包括:Method according to any one of claims 1 to 5, wherein said based on said event pair The data content of all the display components is processed, including:
    当所述事件被触发时,调用所述数据源对应的数据对象实例;When the event is triggered, calling a data object instance corresponding to the data source;
    通过所述数据对象实例对所述所有显示组件的数据内容进行处理。The data content of all of the display components is processed by the data object instance.
  8. 一种页面数据处理装置,其特征在于,包括:处理器和存储器,其中,处理器执行存储器存储的指令,用于:A page data processing apparatus, comprising: a processor and a memory, wherein the processor executes a memory storage instruction for:
    获取页面数据的处理请求,所述处理请求指示目标显示组件和处理内容;Obtaining a processing request of page data, the processing request indicating a target display component and processing content;
    根据所述处理请求生成事件;Generating an event according to the processing request;
    根据所述目标显示组件和处理内容确定相应的数据源,并确定使用到所述数据源的所有显示组件;Determining a corresponding data source according to the target display component and processing content, and determining all display components used to the data source;
    基于所述事件对所述所有显示组件的数据内容进行处理。The data content of all of the display components is processed based on the event.
  9. 根据权利要求8所述的装置,其特征在于,所述处理器进一步执行所述存储器存储的指令,用于The apparatus of claim 8 wherein said processor further executes said memory stored instructions for
    将所述事件添加至事件流;Add the event to the event stream;
    基于所述事件流对所述所有显示组件的数据内容进行处理。The data content of all of the display components is processed based on the event stream.
  10. 根据权利要求9所述的装置,其特征在于,处理器进一步执行所述存储器存储的指令,用于The apparatus of claim 9 wherein the processor further executes instructions stored in said memory for
    获取所述事件的事件属性,根据所述事件属性将所述事件添加至相应的事件流中。Obtaining an event attribute of the event, and adding the event to a corresponding event stream according to the event attribute.
  11. 根据权利要求10所述的装置,其特征在于,处理器进一步执行所述存储器存储的指令,用于The apparatus of claim 10 wherein the processor further executes the memory stored instructions for
    在确定数据流中存在相同内容的事件时,将具有相同内容的事件进行合并。Events with the same content are merged when it is determined that there is an event of the same content in the data stream.
  12. 根据权利要求8至11任一项所述的方法,其特征在于,处理器进一步执行所述存储器存储的指令,用于The method according to any one of claims 8 to 11, wherein the processor further executes instructions stored in the memory for
    当所述事件被触发时,调用所述数据源对应的数据对象实例,通过所述数据对象实例对所述所有显示组件的数据内容进行处理。When the event is triggered, the data object instance corresponding to the data source is invoked, and the data content of all the display components is processed by the data object instance.
  13. 一种计算机可读存储介质,存储有计算机可读指令,被至少一个处理器执行以A computer readable storage medium storing computer readable instructions for execution by at least one processor
    执行权利要求1至7任一项所述的页面数据处理方法。 A page data processing method according to any one of claims 1 to 7.
PCT/CN2017/107433 2016-11-10 2017-10-24 Page data processing method and device WO2018086454A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610991841.2 2016-11-10
CN201610991841.2A CN106528156B (en) 2016-11-10 2016-11-10 A kind of page data processing method and device

Publications (1)

Publication Number Publication Date
WO2018086454A1 true WO2018086454A1 (en) 2018-05-17

Family

ID=58350684

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/107433 WO2018086454A1 (en) 2016-11-10 2017-10-24 Page data processing method and device

Country Status (2)

Country Link
CN (1) CN106528156B (en)
WO (1) WO2018086454A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106528156B (en) * 2016-11-10 2019-07-19 腾讯科技(深圳)有限公司 A kind of page data processing method and device
CN109857786B (en) * 2018-12-19 2020-10-30 成都四方伟业软件股份有限公司 Page data filling method and device
CN110083356B (en) * 2019-04-28 2021-01-05 成都四方伟业软件股份有限公司 Component style synchronization method and device and server
CN110275754A (en) * 2019-06-28 2019-09-24 百度在线网络技术(北京)有限公司 Exchange method, device, equipment and the storage medium presented for user interface
CN114115648A (en) * 2021-11-22 2022-03-01 苏州沁游网络科技有限公司 Data request processing method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364236A (en) * 2008-09-18 2009-02-11 中兴通讯股份有限公司 Data processing apparatus and processing method of WEB page
CN101477558A (en) * 2009-01-15 2009-07-08 腾讯科技(深圳)有限公司 Browser label management method and multi-page browsing system
CN103810049A (en) * 2012-11-07 2014-05-21 江苏仕德伟网络科技股份有限公司 Method for achieving page synchronization in computer processing process through computer memory
CN106528156A (en) * 2016-11-10 2017-03-22 腾讯科技(深圳)有限公司 Page data processing method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019693A (en) * 2012-11-21 2013-04-03 用友软件股份有限公司 System and method for generating user interface
CN104217018A (en) * 2014-09-24 2014-12-17 北京京东尚科信息技术有限公司 Method and device for processing operation data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364236A (en) * 2008-09-18 2009-02-11 中兴通讯股份有限公司 Data processing apparatus and processing method of WEB page
CN101477558A (en) * 2009-01-15 2009-07-08 腾讯科技(深圳)有限公司 Browser label management method and multi-page browsing system
CN103810049A (en) * 2012-11-07 2014-05-21 江苏仕德伟网络科技股份有限公司 Method for achieving page synchronization in computer processing process through computer memory
CN106528156A (en) * 2016-11-10 2017-03-22 腾讯科技(深圳)有限公司 Page data processing method and device

Also Published As

Publication number Publication date
CN106528156B (en) 2019-07-19
CN106528156A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
CN108512695B (en) Method and device for monitoring application blockage
WO2018086454A1 (en) Page data processing method and device
WO2018103484A1 (en) Data processing method, apparatus and system for live broadcast page
US10165391B2 (en) Companion application for activity cooperation
CN106970790B (en) Application program creating method, related equipment and system
KR102033198B1 (en) Optimization schemes for controlling user interfaces through gesture or touch
CN108471376B (en) Data processing method, device and system
US8577960B2 (en) Providing status information for components in a distributed landscape
US10956280B2 (en) Data backup method, electronic device, and storage medium
US9760413B2 (en) Power efficient brokered communication supporting notification blocking
CN112257135B (en) Model loading method and device based on multithreading, storage medium and terminal
EP3499786B1 (en) Data synchronization method, apparatus, storage medium and electronic device
CN106534281B (en) A kind of response method of request of data, apparatus and system
CN108039963B (en) Container configuration method and device and storage medium
CN110633032B (en) Icon display method and device for terminal equipment
US11455075B2 (en) Display method when application is exited and terminal
CN105847446B (en) Method, device and system for acquiring network data
WO2018045874A1 (en) Method for information processing and related product
CN108536388A (en) split screen processing method, device, storage medium and electronic equipment
CN111359210B (en) Data processing method and device, electronic equipment and storage medium
CN109739409B (en) Batch processing method and device and terminal equipment
WO2023123614A1 (en) Data processing method and apparatus, terminal, and storage medium
WO2016191977A1 (en) Operation processing method and device
CN113721803B (en) Data generation method, device, equipment and storage medium
CN114911691A (en) Application debugging method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17868664

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17868664

Country of ref document: EP

Kind code of ref document: A1