[go: up one dir, main page]

CN110290216B - Monitoring execution method, instruction issuing method, device, equipment and storage medium - Google Patents

Monitoring execution method, instruction issuing method, device, equipment and storage medium Download PDF

Info

Publication number
CN110290216B
CN110290216B CN201910580598.9A CN201910580598A CN110290216B CN 110290216 B CN110290216 B CN 110290216B CN 201910580598 A CN201910580598 A CN 201910580598A CN 110290216 B CN110290216 B CN 110290216B
Authority
CN
China
Prior art keywords
event
instruction
cloud
component
instructions
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910580598.9A
Other languages
Chinese (zh)
Other versions
CN110290216A (en
Inventor
张洋洋
贺毅
叶绿叶
袁鹏
李森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Shanghai Xiaodu Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Shanghai Xiaodu Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd, Shanghai Xiaodu Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910580598.9A priority Critical patent/CN110290216B/en
Publication of CN110290216A publication Critical patent/CN110290216A/en
Application granted granted Critical
Publication of CN110290216B publication Critical patent/CN110290216B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention provides a monitoring execution method, an instruction issuing method, equipment and a storage medium, wherein the monitoring execution method comprises the following steps: monitoring an event corresponding to the component instance; searching the instruction set of the event binding from the executable event list of the component instance under the condition that the event corresponding to the component instance is triggered; executing instructions of the set of instructions. The embodiment of the invention can respond to the triggered event in time and improve the response speed of the terminal equipment.

Description

Monitoring execution method, instruction issuing method, device, equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a monitoring execution method, an instruction issuing method, an apparatus, a device, and a storage medium.
Background
The existing terminal equipment needs to occupy more computing resources in order to respond to the event aiming at the running instance, and the response speed is slower.
Disclosure of Invention
The embodiment of the invention provides a monitoring execution method and device and an instruction issuing method and device, which are used for at least solving the technical problems in the prior art.
In a first aspect, an embodiment of the present invention provides a method for performing snooping, including:
monitoring an event corresponding to the component instance;
searching the instruction set of the event binding from the executable event list of the component instance under the condition that the event corresponding to the component instance is triggered;
executing instructions of the set of instructions.
In one embodiment, the method further comprises:
and under the condition that the event corresponding to the component instance is triggered, completing the function corresponding to the event.
In one embodiment, the instructions include:
instructions to act on the component instance or other component instances; and/or the presence of a gas in the gas,
and reporting the event to the cloud equipment.
In one embodiment, further comprising:
under the condition that an instruction for reporting the event to a cloud device is executed, receiving a cloud instruction for the event, which is fed back by the cloud device;
and executing the cloud instruction, and triggering an event corresponding to the cloud instruction.
In a second aspect, an embodiment of the present invention further provides an instruction issuing method, including:
receiving an event reported by terminal equipment;
judging whether a cloud instruction needs to be issued aiming at the event or not according to preset service logic;
and under the condition that a cloud instruction needs to be issued, issuing the cloud instruction corresponding to the event to the terminal equipment.
In one embodiment, the method further comprises: receiving component information, event information and page mark information corresponding to the event reported by the terminal equipment;
the issued cloud instruction comprises the page marking information.
In a third aspect, an embodiment of the present invention further provides a monitor execution apparatus, including:
the monitoring module is used for monitoring events corresponding to the component instances;
the searching module is used for searching the instruction set of the event binding from the executable event list of the component instance under the condition that the event corresponding to the component instance is triggered;
and the instruction execution module is used for executing the instructions in the instruction set.
In one embodiment, further comprising:
and the function execution module is used for completing the function corresponding to the event under the condition that the event corresponding to the component instance is triggered.
In one embodiment, the instructions include:
instructions to act on the component instance or other component instances; and/or the presence of a gas in the gas,
and reporting the event to the cloud equipment.
In one embodiment, the apparatus further comprises: the instruction receiving module is used for receiving a cloud instruction which is fed back by the cloud equipment and aims at the event;
the instruction execution module is further configured to execute the cloud instruction and trigger an event corresponding to the cloud instruction.
In a fourth aspect, an embodiment of the present invention further provides an instruction issuing apparatus, including:
the event receiving module is used for receiving an event reported by the terminal equipment;
the judging module is used for judging whether a cloud instruction needs to be issued aiming at the event or not according to preset business logic;
and the issuing module is used for issuing the cloud instruction corresponding to the event to the terminal equipment under the condition that the cloud instruction needs to be issued.
In one embodiment, the event receiving module is further configured to receive component information, event information, and page tag information corresponding to the event, which are reported by a terminal device;
the cloud end instruction issued by the issuing module comprises the page marking information.
In a fifth aspect, an embodiment of the present invention provides a monitor execution device, where functions of the device may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-described functions.
In one possible design, the structure of the device includes a processor and a memory, the memory is used for storing a program supporting the device to execute the above-mentioned snoop execution method, and the processor is configured to execute the program stored in the memory. The device may also include a communication interface for communicating with other devices or a communication network.
In a sixth aspect, an embodiment of the present invention provides an instruction issuing device, where functions of the device may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-described functions.
In one possible design, the structure of the device includes a processor and a memory, the memory is used for storing a program supporting the device to execute the instruction issuing method, and the processor is configured to execute the program stored in the memory. The device may also include a communication interface for communicating with other devices or a communication network.
In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, configured to store computer software instructions for a monitoring execution device or an instruction issuing device, where the computer software instructions include a program for executing the monitoring execution method or the instruction issuing method.
One of the above technical solutions has the following advantages or beneficial effects:
the embodiment of the invention can preset an executable event list aiming at the component instance, when the event corresponding to the component instance is monitored, the instruction bound to the event is searched from the list, and the instructions are executed. By the method, the triggered event can be responded in time, and the response speed of the terminal equipment is improved.
The foregoing summary is provided for the purpose of description only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features of the present invention will be readily apparent by reference to the drawings and following detailed description.
Drawings
In the drawings, like reference numerals refer to the same or similar parts or elements throughout the several views unless otherwise specified. The figures are not necessarily to scale. It is appreciated that these drawings depict only some embodiments in accordance with the disclosure and are therefore not to be considered limiting of its scope.
Fig. 1 is a first flowchart of a method for implementing a monitoring execution according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a second implementation of a monitoring execution method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an application system and interactive information of a monitoring execution method according to an embodiment of the present invention;
fig. 4 is a schematic view of an interaction flow between a terminal device and a cloud device in a monitoring execution method according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating an implementation of a method for issuing instructions according to an embodiment of the present invention;
fig. 6 is a first schematic structural diagram of a monitoring execution device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a monitor execution device according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of an instruction issuing device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
In the following, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. Accordingly, the drawings and description are to be regarded as illustrative in nature, and not as restrictive.
The embodiment of the invention mainly provides a method and a device for generating a user interface description file, and the technical scheme is expanded and described through the following embodiments respectively.
Fig. 1 is a first flowchart of an embodiment of a method for performing snooping, including:
s11: monitoring an event corresponding to the component instance;
s12: searching the instruction set of the event binding from the executable event list of the component instance under the condition that the event corresponding to the component instance is triggered;
s13: executing instructions of the set of instructions.
In a possible implementation manner, the executable event list is registered in the cloud device in advance.
The embodiment of the invention can complete the binding of the components and the functions when the page components are initialized, and the display engine of the terminal equipment starts the monitoring of events; when the bound event is triggered by user interaction or a cloud instruction, and the component executes a built-in event behavior, executing the instruction set corresponding to the event again from the executable event list registered by the cloud equipment.
Fig. 2 is a flowchart illustrating a second implementation of the monitoring execution method according to the embodiment of the present invention, as shown in fig. 2, the monitoring execution method according to the embodiment of the present invention may further include:
s12': and under the condition that the event corresponding to the component instance is triggered, completing the function corresponding to the event.
In a possible implementation, the instructions in the instruction set may include:
instructions to act on the component instance or other component instances; and/or the presence of a gas in the gas,
and reporting the event to the cloud equipment.
As shown in fig. 2, the snoop execution method according to the embodiment of the present invention may further include:
s24: under the condition that an instruction for reporting the event to a cloud device is executed, receiving a cloud instruction for the event, which is fed back by the cloud device;
s25: and executing the cloud instruction, and triggering an event corresponding to the cloud instruction.
Fig. 3 is a schematic diagram of an application system and interactive information of a monitoring execution method according to an embodiment of the present invention. The system shown in fig. 3 includes a cloud device and a terminal device. The cloud device comprises an Artificial Intelligence (AI) platform, a chat robot dialogue system (BOT) Server and a Server Side Render (SSR) Server. The terminal device may be specifically a screen-based voice interaction terminal.
The instruction for reporting the event to the cloud device may be an event transmission (SendEvent) instruction, and when the SendEvent instruction is executed, the terminal reports the userrevent event to the cloud device by using the unique corresponding template, so as to notify the cloud device. When a userrevent event is reported, relevant parameter types are automatically carried, for example, which specific component triggers the current event, the component id (containing the event), the type (what component) of the current event, what event triggers the current event, and corresponding parameters which need to be reported by the event; meanwhile, the page marking (e.g. token) information of the current page is transmitted to the cloud device. And after receiving the reported UserEvent event, the cloud equipment can perform corresponding processing, and adds token information of the current page into own parameters and returns the token information to the terminal equipment when an instruction needs to be issued.
In fig. 3, the conversational AI platform in the cloud device may be connected to the BOT server, the SSR server, and the terminal device, respectively, to play a role in connection transfer. And the conversational AI platform receives the UserEvent event from the terminal equipment and reports the UserEvent event to the BOT server. The BOT server generates a corresponding execution instruction (ExecuteCommand) under the condition that the business logic judges that a cloud instruction needs to be issued for the event, and sends the ExecutCommand to the conversational AI platform; and the conversational AI platform forwards the ExecuteCommand to the SSR server. The SSR server converts the ExecuteCommand into an ExecuteSewanCode command which is convenient for the terminal equipment to process, and then the ExecuteSeWinCode command is issued to the terminal equipment through the conversational AI platform.
Regarding the display process of the components on the user interface: the dialogue type AI platform receives a rendering file (rendercolumn) instruction from the BOT server and forwards the rendercolumn instruction to the SSR server through the dialogue type AI platform; and the SSR server converts the renderSwanView command into a renderSwanView command which is convenient for the terminal equipment to process, and transmits the renderSwanView command to the terminal equipment through the conversational AI platform. And the terminal equipment renders the previously received and stored user interface description file according to the RenderSwanView instruction, and presents related components on a screen.
In one possible embodiment, the event triggering mode includes at least the following two modes:
1) an interaction on the pure end triggers an event, such as a user clicking on a component displayed on the user interface, other events triggering the event, and so forth.
2) Triggering an event caused by executing a control instruction issued by the cloud; the control instruction issued by the cloud end can be actively sent by the cloud end device, or passively sent aiming at an event received from the terminal device.
When an event is triggered, the execution for the event may also be divided into two parts to perform the effect.
1) And executing the generation effect based on the event property of the event, namely completing the default function of the event.
For example, a slide (Scroll) acting on a slidable list component, a slide to index position (scrolltondex), a jump to a corresponding page (SetPage), and the like. As another example, the currently played content is paused in response to a Pause (Pause) event.
2) Retrieving the object property of an executable event list (EnablEventList) of the component instance, searching an instruction set corresponding to the event, taking the instruction set as an instruction which can be executed after the current event is triggered, and sequentially executing the instruction set bound to the event in the EnablEventList list.
Specifically, when a single component is parsed, an object named EnableEventList of the single component is generated, a plurality of Key-Value pairs (Key-values) exist in the object, each Key Value indicates an event supported by the component, and the corresponding Value serves as an object array to indicate a set of instructions that should be executed when the event is triggered.
When an event corresponding to a certain component is triggered, the EnableEventList of the component is checked in a traversing mode, and then all instructions in the instruction set corresponding to the event are executed. By the method, the dynamic binding of the component information rendered through cloud data in the terminal equipment and the event behavior of the component based on self support can be realized, and the very flexible and very strong combined interaction function can be achieved.
For example, part of the EnableEventList list for component 3 is as follows:
Figure BDA0002112959890000071
Figure BDA0002112959890000081
as seen from the EnableEventList list above, for component 3, the instructions for event1 binding include: command1, command2, and command 3. Where command1 is an instruction for component 2; command2 is an instruction for component 4; command3 points to component 5.
Component 2, component 4 and component 5 in turn each have their own EnableEventList list, such as:
the EnableEventList for component 2 is listed below:
enableEventList{event 2:[{command4,command5,…}]}
the EnableEventList for component 4 is listed below:
enableEventList{event 3:[{command6,command7,…}]}
the EnableEventList for component 5 is listed below:
enableEventList{event 3:[{command8,command9,…}]}
by using the EnableEventList, when the event1 of the component 3 is triggered, the instruction set corresponding to the event1 is found, and the instructions in the instruction set, including the command1, the command2 and the command3, are executed in sequence. The 3 commands described above are applied to module 2, module 4 and module 5 respectively. And then, continuing to monitor the events aiming at the component 2, the component 4 and the component 5, when the event aiming at the component 2, the component 4 or the component 5 is triggered, searching a corresponding instruction set according to the EnableEventList of the component 2, the component 4 or the component 5, and sequentially executing the instructions in the instruction set.
For the triggering of the driven other component events, the triggering of the other component events can be driven in the same way and in the form of instructions, so that the chain triggering component events and the chain effect of corresponding instruction execution are achieved, and the interaction mode is enriched and expanded.
Fig. 4 is a schematic view of an interaction flow between a terminal device and a cloud device in a monitoring execution method according to an embodiment of the present invention, where the interaction flow includes:
s401: the device side draws an initial page based on JSON (JavaScript Object Notification) data, initializes the basic component function and completes the initialization of data binding.
S402: the device starts to perform monitoring processing of events and instruction execution based on code logic and interactive behaviors.
S403: and judging whether the user behavior or the cloud instruction causes an event corresponding to a certain component of the device side to be triggered, if so, executing step S404.
S404: the event corresponding component instance executes the built-in event behavior of the component instance, and searches an executable event list registered by the component based on the cloud.
S405: it is determined whether the event is registered in the executable event list and describes an instruction set to be executed when the event is generated, and if there is a corresponding instruction set, step S406 is executed.
S406: the device starts executing the instructions in the instruction set in sequence based on the description of the list of executable times.
S407: judging whether an instruction is not executed, if so, executing step S408; otherwise, ending the current flow.
S408: it is determined whether the instruction is of a type that controls a component to perform some action (i.e., execute an event). If yes, returning to execute the step S402; if not, step S409 is performed. Wherein, a component may refer to a component to which the aforementioned event is directed, or may refer to other components in the page.
S409: judging whether the instruction belongs to a reporting instruction type; the reporting instruction type may be an instruction for reporting an event to the cloud device. If yes, go to step S410; otherwise, ending the current flow.
S410: and the device end reports the event to the cloud end, and after the cloud end receives the event report, the cloud end determines whether the command needs to be issued to continuously interact with the device end or not based on the service logic.
S411: judging whether the interaction with the equipment end is required to be continued in a mode of sending an instruction, if so, returning to the step S402; otherwise, ending the current flow.
As can be seen from the above process, the instruction received by the device may trigger another event, and a new instruction may be executed for the event, including an instruction for reporting the event to the cloud. And circulating in this way, the interaction between the cloud end and the equipment end is realized. The requirement of timely response of the equipment end is met, and communication with the server end is considered, so that resources used by the equipment end are reduced, and the performance capability of the equipment end is enriched. The method and the device can be applied to a scene in which the voice interaction and the touch screen interaction of the user are mixed.
In addition, in the embodiments of the present invention, the instruction implementation may be classified into the following categories:
1) an event reporting instruction:
UserEvent event: events reported by sendEvent instructions. The events and commands are described above and will not be described herein.
2) Serial & Parallel instruction (Sequential & Parallel)
The two types of instructions are implemented as execution modes of other types of instructions under multiple conditions, and the multiple instructions are executed in a parallel-like mode according to the actual execution mode of JS by default. When the interactive instruction as the serial instruction comprises a plurality of instructions, a function queue is implemented, and after one instruction is completed, the other instruction is executed to achieve the serial execution effect;
3) the functional instructions for common components at least comprise the following types:
automatic page turning (AutoPage), sliding (Scroll), sliding to index (ScrollToIndex), jumping to a designated page (SetPage) in the page component.
Such instructions are generally applicable to some or all of the component types, and their function is to invoke methods built into the component itself based on the componentId to achieve the desired interaction effect.
4) Media instruction (ControlMedia)
At present, methods for calling components through an enumeration value (play, pause, next, etc.) on two types of media components, namely Video and Audio, are used, and supportable methods are rich in types.
5) Component-based show replacement instructions
The method comprises the following steps: a change component style (SetState) instruction for modifying property values and style values that are available to a single component for modification as agreed;
an asynchronous refresh (UpdateComponent) instruction for completely replacing the presentation contents of a single component, a partial area composed of a plurality of components, and carried data information (enableEventList, etc.).
The above-mentioned instructions may acquire the area information that needs to be replaced based on the componentId.
The embodiment of the invention also provides an instruction issuing method which can be applied to the cloud equipment. Fig. 5 is a flowchart of an implementation of an instruction issuing method according to an embodiment of the present invention, including:
s51: receiving an event reported by terminal equipment;
s52: judging whether a cloud instruction needs to be issued aiming at the event or not according to preset service logic;
s53: and under the condition that a cloud instruction needs to be issued, issuing the cloud instruction corresponding to the event to the terminal equipment.
In one embodiment, the method further comprises: receiving component information, event information and page mark information corresponding to the event reported by the terminal equipment;
the cloud instruction issued in step S53 includes the page tag information.
The embodiment of the invention also provides a monitoring execution device. Referring to fig. 6, fig. 6 is a first schematic structural diagram of a snoop execution device according to an embodiment of the present invention, including:
a monitoring module 610, configured to monitor an event corresponding to a component instance;
a searching module 620, configured to search, in a case where the event corresponding to the component instance is triggered, an instruction set of the event binding from an executable event list of the component instance;
an instruction execution module 630, configured to execute the instructions in the instruction set.
Fig. 7 is a schematic structural diagram of a second snoop execution device according to an embodiment of the present invention, including:
a monitoring module 610, a searching module 620, an instruction executing module 630 and a function executing module 740;
a function executing module 740, configured to, in a case that the event corresponding to the component instance is triggered, complete a function corresponding to the event.
In one possible implementation, the instructions include:
instructions to act on the component instance or other component instances; and/or the presence of a gas in the gas,
and reporting the event to the cloud equipment.
As shown in fig. 7, in one possible embodiment, the apparatus further comprises: the instruction receiving module 750 is configured to receive a cloud instruction for the event, which is fed back by the cloud device;
the instruction executing module 630 is further configured to execute the cloud instruction, and trigger an event corresponding to the cloud instruction.
Fig. 8 is a schematic structural diagram of an instruction issuing device according to an embodiment of the present invention, including:
an event receiving module 810, configured to receive an event reported by a terminal device;
a determining module 820, configured to determine whether a cloud instruction needs to be issued for the event according to a preset service logic;
the issuing module 830 is configured to issue the cloud instruction corresponding to the event to the terminal device under the condition that the cloud instruction needs to be issued.
In a possible implementation manner, the event receiving module 810 is further configured to receive component information, event information, and page tag information corresponding to the event, which are reported by a terminal device;
the cloud instruction issued by the issuing module 830 includes the page tag information.
The functions of each module in each apparatus in the embodiments of the present invention may refer to the corresponding description in the above method, and are not described herein again.
An embodiment of the present invention further provides a monitoring execution device, and as shown in fig. 9, which is a schematic structural diagram of the monitoring execution device in the embodiment of the present invention, the monitoring execution device includes:
a memory 11 and a processor 12, the memory 11 storing a computer program operable on the processor 12. The processor 12 implements the snoop execution method in the above embodiments when executing the computer program. The number of the memory 11 and the processor 12 may be one or more.
The apparatus may further include:
and the communication interface 13 is used for communicating with external equipment and exchanging and transmitting data.
The memory 11 may comprise a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
If the memory 11, the processor 12 and the communication interface 13 are implemented independently, the memory 11, the processor 12 and the communication interface 13 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA), or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 9, and does not indicate only one bus or one type of bus.
Optionally, in a specific implementation, if the memory 11, the processor 12 and the communication interface 13 are integrated on a chip, the memory 11, the processor 12 and the communication interface 13 may complete communication with each other through an internal interface.
The embodiment of the present invention further provides an instruction issuing device, which has the same structure as the monitoring execution device shown in fig. 8, and is not described again.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following technologies, which are well known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium. The storage medium may be a read-only memory, a magnetic or optical disk, or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various changes or substitutions within the technical scope of the present invention, and these should be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (11)

1. A snoop execution method, comprising:
monitoring an event corresponding to the component instance;
searching the instruction set of the event binding from the executable event list of the component instance under the condition that the event corresponding to the component instance is triggered;
executing instructions in the instruction set, wherein the instructions comprise instructions for reporting the event to cloud equipment and instructions for acting on the component instances or other component instances;
under the condition that an instruction for reporting the event to a cloud device is executed, receiving a cloud instruction for the event, which is fed back by the cloud device;
and executing the cloud instruction, and triggering an event corresponding to the cloud instruction.
2. The method of claim 1, further comprising:
and under the condition that the event corresponding to the component instance is triggered, completing the function corresponding to the event.
3. An instruction issuing method is characterized by comprising the following steps:
under the condition that an event corresponding to the component instance in the terminal equipment is triggered, receiving an event reported when the terminal equipment executes an instruction in the instruction set bound by the event; the instructions comprise instructions for reporting the event to cloud equipment and instructions for acting on the component instances or other component instances;
judging whether a cloud instruction needs to be issued aiming at the event or not according to preset service logic;
and under the condition that a cloud instruction needs to be issued, issuing a cloud instruction corresponding to the event to the terminal equipment so that the terminal equipment executes the cloud instruction and triggers the event corresponding to the cloud instruction.
4. The method of claim 3, further comprising: receiving component information, event information and page mark information corresponding to the event reported by the terminal equipment;
the issued cloud instruction comprises the page marking information.
5. A snoop execution apparatus, comprising:
the monitoring module is used for monitoring events corresponding to the component instances;
the searching module is used for searching the instruction set of the event binding from the executable event list of the component instance under the condition that the event corresponding to the component instance is triggered;
the instruction execution module is used for executing instructions in the instruction set, wherein the instructions comprise instructions for reporting the event to cloud equipment and instructions acting on the component instances or other component instances;
the cloud instruction receiving module is used for receiving a cloud instruction which is fed back by the cloud equipment and aims at the event under the condition that the instruction used for reporting the event to the cloud equipment is executed;
and the cloud instruction execution module is used for executing the cloud instruction and triggering an event corresponding to the cloud instruction.
6. The apparatus of claim 5, further comprising:
and the function execution module is used for completing the function corresponding to the event under the condition that the event corresponding to the component instance is triggered.
7. An instruction issuing apparatus, comprising:
the event receiving module is used for receiving an event reported when the terminal equipment executes an instruction in the instruction set bound by the event under the condition that the event corresponding to the component instance in the terminal equipment is triggered; the instructions comprise instructions for reporting the event to cloud equipment and instructions for acting on the component instances or other component instances;
the judging module is used for judging whether a cloud instruction needs to be issued aiming at the event or not according to preset business logic;
and the issuing module is used for issuing the cloud instruction corresponding to the event to the terminal equipment under the condition that the cloud instruction needs to be issued, so that the terminal equipment executes the cloud instruction and triggers the event corresponding to the cloud instruction.
8. The apparatus of claim 7, further comprising:
the event receiving module is further configured to receive component information, event information, and page tag information corresponding to the event, which are reported by the terminal device;
the cloud end instruction issued by the issuing module comprises the page marking information.
9. A snoop executing device, the device comprising:
one or more processors;
storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1 or 2.
10. An instruction issuing apparatus, characterized in that the apparatus comprises:
one or more processors;
storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of claim 3 or 4.
11. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN201910580598.9A 2019-06-28 2019-06-28 Monitoring execution method, instruction issuing method, device, equipment and storage medium Active CN110290216B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910580598.9A CN110290216B (en) 2019-06-28 2019-06-28 Monitoring execution method, instruction issuing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910580598.9A CN110290216B (en) 2019-06-28 2019-06-28 Monitoring execution method, instruction issuing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110290216A CN110290216A (en) 2019-09-27
CN110290216B true CN110290216B (en) 2022-05-13

Family

ID=68019821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910580598.9A Active CN110290216B (en) 2019-06-28 2019-06-28 Monitoring execution method, instruction issuing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110290216B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857865A (en) * 2020-06-28 2020-10-30 珠海豹趣科技有限公司 Event type task processing method and device, electronic equipment and storage medium
CN111930540B (en) * 2020-08-04 2024-12-24 北京字节跳动网络技术有限公司 Communication method, device and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105068661A (en) * 2015-09-07 2015-11-18 百度在线网络技术(北京)有限公司 Man-machine interaction method and system based on artificial intelligence
CN106603601A (en) * 2015-10-15 2017-04-26 阿里巴巴集团控股有限公司 Service processing method, device and system, and terminal equipment
CN107870994A (en) * 2017-10-31 2018-04-03 北京光年无限科技有限公司 Man-machine interaction method and system for intelligent robot
CN108877791A (en) * 2018-05-23 2018-11-23 百度在线网络技术(北京)有限公司 Voice interactive method, device, server, terminal and medium based on view
CN109445288A (en) * 2018-09-28 2019-03-08 深圳慧安康科技有限公司 A kind of implementation method of wisdom family popularization and application
CN109698858A (en) * 2018-11-01 2019-04-30 百度在线网络技术(北京)有限公司 Resource supplying method, equipment and storage medium for smart machine
CN109918604A (en) * 2019-03-07 2019-06-21 智慧芽信息科技(苏州)有限公司 Page drawing method, apparatus, equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070047719A1 (en) * 2005-09-01 2007-03-01 Vishal Dhawan Voice application network platform
CN107977183A (en) * 2017-11-16 2018-05-01 百度在线网络技术(北京)有限公司 voice interactive method, device and equipment
CN108319483B (en) * 2018-01-30 2021-07-09 腾讯科技(深圳)有限公司 Webpage processing method, device, terminal and storage medium
CN108733559B (en) * 2018-04-09 2023-03-28 平安普惠企业管理有限公司 Page event triggering method, terminal equipment and medium
CN108846087A (en) * 2018-06-12 2018-11-20 恒生电子股份有限公司 A kind of page rendering method, apparatus, terminal and server

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105068661A (en) * 2015-09-07 2015-11-18 百度在线网络技术(北京)有限公司 Man-machine interaction method and system based on artificial intelligence
CN106603601A (en) * 2015-10-15 2017-04-26 阿里巴巴集团控股有限公司 Service processing method, device and system, and terminal equipment
CN107870994A (en) * 2017-10-31 2018-04-03 北京光年无限科技有限公司 Man-machine interaction method and system for intelligent robot
CN108877791A (en) * 2018-05-23 2018-11-23 百度在线网络技术(北京)有限公司 Voice interactive method, device, server, terminal and medium based on view
CN109445288A (en) * 2018-09-28 2019-03-08 深圳慧安康科技有限公司 A kind of implementation method of wisdom family popularization and application
CN109698858A (en) * 2018-11-01 2019-04-30 百度在线网络技术(北京)有限公司 Resource supplying method, equipment and storage medium for smart machine
CN109918604A (en) * 2019-03-07 2019-06-21 智慧芽信息科技(苏州)有限公司 Page drawing method, apparatus, equipment and storage medium

Also Published As

Publication number Publication date
CN110290216A (en) 2019-09-27

Similar Documents

Publication Publication Date Title
CN110162726B (en) Page resource loading method and device and storage medium
CN106294176B (en) The method and system that application failure positions in Mac OS systems
CN113110916B (en) Virtual machine data reading and writing method, device, equipment and medium
CN110290216B (en) Monitoring execution method, instruction issuing method, device, equipment and storage medium
CN109542718B (en) Service call monitoring method and device, storage medium and server
CN112988185A (en) Cloud application updating method, device and system, electronic equipment and storage medium
CN113849356B (en) Equipment testing method and device, electronic equipment and storage medium
CN109033814A (en) intelligent contract triggering method, device, equipment and storage medium
CN109547807A (en) A kind of information processing method based on live streaming, device and server
CN110377331B (en) Monitoring method, device, equipment and storage medium for issuing application program
CN111831411A (en) Task processing method and device, storage medium and electronic equipment
CN113590371A (en) Event analyzer and event analysis method
CN117076353B (en) Descriptor configuration method and descriptor configuration device
CN111494938B (en) Speed measuring method and device, storage medium and electronic device
CN110275753B (en) Value added service acquisition method, device and equipment of application program
CN114296907A (en) Method and device for process control
CN115455923A (en) Method and system for dynamically increasing and decreasing form items, electronic equipment and readable storage medium
CN112202784B (en) Anti-crawler method and device and storage medium
CN111143078B (en) Data processing method, device and computer readable storage medium
CN114218041A (en) Dynamic process monitoring method, device, device and storage medium
CN114675898A (en) Page jump method, computer device and computer readable storage medium
CN112764837A (en) Data reporting method, device, storage medium and terminal
JP3383138B2 (en) Debug support device and debug support method
US20220362668A1 (en) Information display method and apparatus, terminal, storage medium, and computer program product
CN117196745A (en) Information prompting method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210511

Address after: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant after: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

Applicant after: Shanghai Xiaodu Technology Co.,Ltd.

Address before: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant