A data processing method, device, equipment and medium
By establishing the corresponding relationship between the device's processing logic and the scene, determining and applying appropriate processing logic to process events, the problem of inflexible device operation and inaccurate results is solved, and the efficiency and accuracy of data processing are improved.
Patent Information
- Application Number
- CN202111388507.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-22
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-11-22
AI Technical Summary
The operation of existing equipment is not flexible enough and the operation results are not accurate enough, resulting in low equipment control efficiency.
By establishing the corresponding relationship between the object's processing logic and the scene, it receives the processing logic acquisition request, determines the immediate scene and obtains the target processing logic, sends the target processing logic to the object to process the target event, and generates the processing result.
It improves the effectiveness, efficiency and flexibility of object data processing and ensures the accuracy of processing results.
Smart Images

Figure CN114115016B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a data processing method, device, equipment and medium. Background Art
[0002] In the prior art, more and more devices are used by people, and the functions of these devices greatly enrich and facilitate people's lives. However, the existing devices still have the problem of insufficient flexibility in operation and insufficient precision in operation results.
[0003] In view of this, more effective and efficient equipment control solutions are needed. Summary of the invention
[0004] The embodiments of this specification provide a data processing method to solve the technical problem of how to control an object more effectively and efficiently.
[0005] To solve the above technical problems, the embodiments of this specification provide the following technical solutions:
[0006] The present invention provides a data processing method, including:
[0007] For any object, establish the corresponding relationship between the object's processing logic and the scene;
[0008] Receive a processing logic acquisition request sent by the object, determine the instant scene of the object according to the processing logic acquisition request, and acquire the target processing logic corresponding to the instant scene;
[0009] The target processing logic is sent to the object, so that the object uses the target processing logic to process the target event in the immediate scenario and generates a processing result of the target event.
[0010] The present invention provides a data processing device, including:
[0011] A mapping module is used to establish a corresponding relationship between the processing logic of any object and the scene;
[0012] A logic module, used to receive a processing logic acquisition request sent by the object, determine the instant scene of the object according to the processing logic acquisition request, and acquire the target processing logic corresponding to the instant scene;
[0013] The execution module is used to send the target processing logic to the object, so that the object uses the target processing logic to process the target event in the immediate scene and generate a processing result of the target event.
[0014] The embodiment of this specification provides a data processing device, including:
[0015] at least one processor;
[0016] as well as,
[0017] a memory communicatively coupled to the at least one processor;
[0018] in,
[0019] The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor to enable the at least one processor to perform the above data processing method.
[0020] An embodiment of the present specification provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions implement the above-mentioned data processing method when executed by a processor.
[0021] At least one of the above technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects:
[0022] For any object, when a target event associated with the object occurs, the processing logic of the target event can be determined according to the scene in which the object is located, and then the target event can be processed, which can improve the effectiveness, efficiency and flexibility of the object's data processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following is a brief introduction to the drawings required for use in the embodiments of this specification or the prior art description. Obviously, the drawings introduced below are only some of the drawings that may be involved in the embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 It is a schematic diagram of the execution body of the data processing method in the first embodiment of this specification.
[0025] Figure 2 It is a flowchart of the data processing method in the first embodiment of this specification.
[0026] Figure 3 It is a schematic diagram of the structure of the data processing device in the second embodiment of this specification. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions of the embodiments of this specification will be clearly and completely described below in conjunction with the drawings of the embodiments of this specification. Obviously, the embodiments described in this specification are only some embodiments of this application, not all embodiments. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0028] In the prior art, more and more devices are used by people, and the functions of these devices greatly enrich and facilitate people's lives. However, the existing devices still have the problem of insufficient flexibility in operation and insufficient precision in operation results.
[0029] The first embodiment of this specification (hereinafter referred to as "embodiment one") provides a data processing method. The execution subject of embodiment one can be a terminal (including but not limited to mobile phones, computers, pads, televisions) or a server or an operating system or an application or a data processing platform or a data processing system, etc., that is, the execution subject can be various and can be set, used or changed as needed. In addition, a third-party application can also assist the execution subject in executing embodiment one. For example Figure 1 As shown, the data processing method in Example 1 can be executed by a server, and an application corresponding to the server can be installed on a terminal (held by a user). Data can be transmitted between the terminal or the application and the server, and data can be collected, input or output, or pages or information processing can be performed (for the user) through the terminal or the application, thereby assisting the server in executing the data processing method in Example 1.
[0030] like Figure 2 As shown, the data processing method provided in the first embodiment includes:
[0031] S101: (Executing subject) For any object, establish a corresponding relationship between the processing logic of the object and the scene;
[0032] In the first embodiment, the object may refer to various products or devices, and the object may provide certain functions or services to the user. For example, the object may be various home appliances or smart terminals.
[0033] For any object, the execution subject of the first embodiment can establish a corresponding relationship between the processing logic of the object and the scene. The processing logic refers to the logical rules used by the object to process the target event (the target event is an event used to enable the object to realize its service or function, and the target event can be stored in the object) associated with the object when it is triggered, that is, the processing logic is the logical rules used by the object to realize its service or function.
[0034] The scenes may include various types, such as time scenes (e.g. morning, noon, evening, spring, summer, autumn, and winter), location scenes (e.g. different countries or regions, different terrains), climate scenes (e.g. high and low temperatures), etc.
[0035] The execution subject of the first embodiment may establish and store the correspondence between the processing logic of the object and the scene.
[0036] Wherein, establishing the correspondence between the processing logic of the object and the scene may include:
[0037] S1011: Acquire a feature of any processing logic of the object; wherein the feature includes a level feature, and the level feature is used to characterize an upper-level processing logic or a lower-level processing logic of the processing logic;
[0038] In the first embodiment, the characteristics of each processing logic can be defined (the characteristics can be in the form of fields), and the execution subject of the first embodiment can obtain the characteristics of any processing logic of the object. For any processing logic, the characteristics can include level characteristics, and the level characteristics are used to characterize the upper-level processing logic or lower-level processing logic of the processing logic.
[0039] S1013: The execution subject of the first embodiment may divide the processing logics of the object that have a hierarchical relationship into one group, and divide the processing logics that have no hierarchical relationship into another group according to the level characteristics of the processing logics of the object;
[0040] For example, in each processing logic corresponding to the object, the level characteristic of processing logic A indicates that processing logic A has no upper-level processing logic, and the lower-level processing logic of processing logic A is processing logic B; the level characteristic of processing logic B indicates that the upper-level processing logic of processing logic B is processing logic A, and the lower-level processing logic of processing logic B is processing logic C; the level characteristic of processing logic C indicates that the upper-level processing logic of processing logic C is processing logic B, and processing logic C has no lower-level processing logic. Then, the execution subject of embodiment 1 can determine that processing logic A, processing logic B, and processing logic C have an upper-lower-level affiliation relationship, thereby dividing processing logic A, processing logic B, and processing logic C into a group.
[0041] S1015: Establishing a correspondence between each processing logic group and the scene.
[0042] The execution subject of the first embodiment can establish a correspondence between each processing logic group (each group of processing logic is a processing logic group) and a scene. The correspondence between any processing logic group and a scene is the correspondence between each processing logic in the processing logic group and the scene.
[0043] S103: (Executing subject) receiving the processing logic acquisition request sent by the object, determining the instant scene of the object according to the processing logic acquisition request, and acquiring the target processing logic corresponding to the instant scene;
[0044] The execution subject of the first embodiment may receive the processing logic acquisition request sent by the object, and determine the instantaneous scene in which the object is located according to the processing logic acquisition request. Among them, after the target event stored in the object is triggered, the object may send the processing logic acquisition request to the execution subject of the first embodiment. The instantaneous scene is the scene in which the object is located when sending the processing logic acquisition request.
[0045] In the first embodiment, determining the instant scene where the object is located according to the processing logic acquisition request may include: extracting a preset field from the processing logic acquisition request, and determining the instant scene where the object is located according to the preset field.
[0046] The execution subject of the first embodiment can obtain the target processing logic corresponding to the instant scene. Wherein, obtaining the target processing logic corresponding to the instant scene includes: (according to the correspondence between each processing logic group and the scene mentioned above) obtaining the processing logic group corresponding to the instant scene, each processing logic in the processing logic group corresponding to the instant scene is the target processing logic corresponding to the instant scene. Of course, the processing logic in the processing logic group corresponding to the instant scene can be one or more.
[0047] S105: (Executing subject) sends the target processing logic to the object, so that the object uses the target processing logic to process the target event in the immediate scenario and generates a processing result of the target event.
[0048] After determining the target processing logic, the execution subject of Example 1 sends the target processing logic to the object so that the object uses the target processing logic to process the target event in the immediate scene. Among them, sending the target processing logic to the object so that the object uses the target processing logic to process the target event in the immediate scene can include: sending each of the target processing logics to the object so that the object displays each of the target processing logics, and processes the target event in the immediate scene according to the target processing logic selected by the user. In addition, assuming that the processing logic group corresponding to the immediate scene includes only one processing logic, that is, there is only one target processing logic, the object can receive and display the target processing logic for user selection.
[0049] After the object processes the target event in the immediate scenario using the target processing logic, it can generate a processing result of the target event and display the processing result of the target event.
[0050] In the first embodiment, after the object displays the processing result of the target event, the processing result feedback page can be displayed so that the user can give feedback or evaluate the processing result. For example, one or more feedback or evaluation methods such as scoring, options, and text input can be provided on the processing result feedback page so that the user can give feedback or evaluate the processing result. The object can generate feedback data on the processing result through the user's operation on the processing result feedback page, and use the feedback data as feedback data on the "target processing logic used to process the target event" (referred to as "feedback data on the target processing logic"), and send the feedback data to the execution subject of the first embodiment.
[0051] The execution subject of the first embodiment can obtain the feedback data on the target processing logic sent by the object, and determine whether to modify the target processing logic according to the feedback data. If it is determined according to the feedback data that the user is not satisfied with the processing result, it can be determined to modify the "target processing logic used to process the target event" or modify the processing logic in the processing logic group corresponding to the instant scene. After modifying the processing logic, the re-established modified processing logic can be regrouped or its correspondence with the scene can be re-established.
[0052] The embodiment is further described below by a non-limiting example:
[0053] Assuming that the object is a weight scale, the execution subject of the first embodiment is a server, and the weight scale can communicate with the server. The processing logic of the weight scale may include eight processing logics: "weigh and remove clothes D kg", "weigh and remove clothes D kg and alarm when overweight", "weigh and remove clothes E kg", "weigh and remove clothes E kg and alarm when overweight", "weigh and remove clothes F kg", "weigh and remove clothes F kg and alarm when overweight", "weigh and remove clothes G kg", "weigh and remove clothes G kg and alarm when overweight", and removing clothes means removing the weight of clothes. Among them, "weigh and remove clothes D kilograms and alarm when overweight" is the subordinate processing logic of "weigh and remove clothes D kilograms", and the two are in a group, which corresponds to the spring scene; "weigh and remove clothes E kilograms and alarm when overweight" is the subordinate processing logic of "weigh and remove clothes E kilograms", and the two are in a group, which corresponds to the summer scene; "weigh and remove clothes F kilograms and alarm when overweight" is the subordinate processing logic of "weigh and remove clothes F kilograms", and the two are in a group, which corresponds to the autumn scene; "weigh and remove clothes G kilograms and alarm when overweight" is the subordinate processing logic of "weigh and remove clothes G kilograms", and the two are in a group, which corresponds to the winter scene. Generally, among D, E, F, and G, E is the smallest and G is the largest. The storage form of the processing logic on the server may be text or other forms, which is not limited in Example 1.
[0054] The weighing scale can store target events, including the detection of a human body on the weighing scale.
[0055] If the user stands on the weight scale, the target event is triggered, and the weight scale sends a processing logic acquisition request to the server. The server receives the processing logic acquisition request sent by the weight scale, and determines the instant scene of the object according to the processing logic acquisition request. For example, if the instant scene is winter, the "weigh and remove clothes G kg and alarm when overweight" and "weigh and remove clothes G kg" corresponding to the instant scene are determined by the server as the target processing logic and sent to the weight scale by the server.
[0056] The scale displays two options for the user to choose: "Weigh and remove clothes (G kg) and alarm when overweight" and "Weigh and remove clothes (G kg). Assuming the user chooses "Weigh and remove clothes (G kg)," the scale executes the processing logic to process the target event, that is, weighs the detected human body and removes clothes (G kg), generates the weight after removing clothes as the processing result, and displays the weight after removing clothes to the user.
[0057] The weight scale may be installed with a weighing application, and the communication with the server may be performed by either the weight scale or the weighing application.
[0058] In the first embodiment, the process in which an object performs its function or role is the data processing process of the object. For any object, when a target event associated with the object occurs, the target processing logic for the target event can be determined according to the scene in which the object is located, and then the object uses the target processing logic to process the target event. Since the target processing logic used to process the target event takes into account the immediate scene in which the object is located, and the processing logic corresponding to the immediate scene in which the object is located, the target processing logic is a processing logic that is more suitable for the immediate scene. In this way, the processing result obtained by the object using the target processing logic is also a processing result that takes into account and is more suitable for the immediate scene in which the object is located, which can improve the effectiveness and efficiency of the object's data processing and improve the accuracy of the processing results.
[0059] In the first embodiment, for different instant scenarios, the target processing logic corresponding to the instant scenario can be determined, thereby improving the flexibility of the object in data processing.
[0060] In the first embodiment, in each group of processing logic, the later the level of the processing logic is, the more refined it is, and the more refined the processing result is. The processing logics with affiliation are grouped together, and the target processing logics sent to the object can also have affiliation. In this way, the richness of the data processing methods selected by the user is improved. In particular, after the object displays the target processing logics, if the user needs to save object resources or shorten the object data processing time, he can choose a relatively less sophisticated processing logic, which meets more user needs.
[0061] like Figure 3 As shown, the second embodiment of this specification provides a data processing device corresponding to the data processing method described in the first embodiment, including:
[0062] A mapping module 202 is used to establish a corresponding relationship between the processing logic of any object and the scene;
[0063] The logic module 204 is used to receive the processing logic acquisition request sent by the object, determine the instant scene of the object according to the processing logic acquisition request, and obtain the target processing logic corresponding to the instant scene;
[0064] The execution module 206 is used to send the target processing logic to the object, so that the object uses the target processing logic to process the target event in the immediate scenario and generate a processing result of the target event.
[0065] Optionally, establishing a correspondence between the processing logic of the object and the scene includes:
[0066] Acquire the characteristics of any processing logic of the object; wherein the characteristics include level characteristics, and the level characteristics are used to characterize the upper-level processing logic or the lower-level processing logic of the processing logic;
[0067] Among the processing logics of the object, the processing logics having a superior-subordinate relationship are divided into one group, and the processing logics having no superior-subordinate relationship with other processing logics are divided into one group;
[0068] Establish the corresponding relationship between each processing logic group and the scene.
[0069] Optionally, obtaining the target processing logic corresponding to the instant scene includes:
[0070] A processing logic group corresponding to the instant scene is obtained, and each processing logic in the processing logic group corresponding to the instant scene is a target processing logic corresponding to the instant scene.
[0071] Optionally, sending the target processing logic to the object so that the object uses the target processing logic to process the target event in the immediate scenario includes:
[0072] The target processing logic is sent to the object so that the object displays each target processing logic and processes the target event in the immediate scene according to the target processing logic selected by the user.
[0073] Optionally, obtaining the request according to the processing logic to determine the instant scene where the object is located includes:
[0074] A preset field is extracted from the processing logic acquisition request, and the instant scene of the object is determined according to the preset field.
[0075] Optionally, after the target event is triggered, the object sends the processing logic acquisition request.
[0076] Optionally, the logic module 204 is further configured to obtain feedback data sent by the object regarding the target processing logic, and determine whether to modify the target processing logic according to the feedback data.
[0077] A third embodiment of the present specification provides a data processing device, including:
[0078] at least one processor;
[0079] as well as,
[0080] a memory communicatively coupled to the at least one processor;
[0081] in,
[0082] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the data processing method described in the first embodiment.
[0083] A fourth embodiment of the present specification provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the data processing method described in the first embodiment is implemented.
[0084] The above embodiments may be used in combination, and modules with the same name between different embodiments or within the same embodiment may be the same or different modules.
[0085] The above describes specific embodiments of the present specification, and other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily have to be performed in the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0086] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer-readable storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0087] The apparatus, device, non-volatile computer-readable storage medium and method provided in the embodiments of this specification correspond to each other, and therefore, the apparatus, device, and non-volatile computer storage medium also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the corresponding apparatus, device, and non-volatile computer storage medium will not be repeated here.
[0088] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.
[0089] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.
[0090] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0091] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0092] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification may be in the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the embodiments of this specification may be in the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0093] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0094] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0095] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0096] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0097] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0098] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0099] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0100] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0101] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0102] The above is only an embodiment of this specification and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A data processing method, include: For any object, obtain the characteristics of any processing logic of the object, wherein any processing logic of the object refers to the logical rules used by the object to process the target event when the target event associated with the object is triggered; wherein the characteristics include level characteristics, and the level characteristics are used to characterize the upper-level processing logic or lower-level processing logic of the processing logic; among the various processing logics of the object, the processing logics with a superior-subordinate affiliation relationship are divided into one group, and the processing logics with no superior-subordinate affiliation relationship with other processing logics are divided into one group; establish a corresponding relationship between each processing logic group and a scene; wherein, in each processing logic group, the processing logic with a later level is more refined, and the scene characterizes the external environment in which the object is located; Receive a processing logic acquisition request sent by the object, determine the instant scene of the object according to the processing logic acquisition request, and acquire a processing logic group corresponding to the instant scene, each processing logic in the processing logic group corresponding to the instant scene is a target processing logic corresponding to the instant scene; Sending each of the target processing logics to the object so that the object displays each of the target processing logics, processes the target event in the instant scenario according to the target processing logic selected by the user, and generates a processing result of the target event; Obtain feedback data sent by the object on the selected target processing logic. If it is determined based on the feedback data that the user is dissatisfied, modify the processing logic in the processing logic group corresponding to the immediate scenario, and regroup or re-establish the corresponding relationship after the modification.
2. The method of claim 1, wherein the processing logic obtains the request to determine the instantaneous scene in which the object is located include: A preset field is extracted from the processing logic acquisition request, and the instant scene of the object is determined according to the preset field.
3. The method according to claim 1, wherein after the target event is triggered, the object sends the processing logic acquisition request.
4. A data processing device, include: A mapping module is used to obtain, for any object, the characteristics of any processing logic of the object, wherein any processing logic of the object refers to the logical rules used by the object to process the target event when the target event associated with the object is triggered; wherein the characteristics include level characteristics, and the level characteristics are used to characterize the upper-level processing logic or lower-level processing logic of the processing logic; among the various processing logics of the object, the processing logics with a superior-subordinate affiliation relationship are divided into one group, and the processing logics with no superior-subordinate affiliation relationship with other processing logics are divided into one group; a corresponding relationship between each processing logic group and a scene is established; wherein, in each processing logic group, the processing logic with a later level is more refined, and the scene characterizes the external environment in which the object is located; A logic module, used to receive a processing logic acquisition request sent by the object, determine the instant scene of the object according to the processing logic acquisition request, and acquire a processing logic group corresponding to the instant scene, each processing logic in the processing logic group corresponding to the instant scene is a target processing logic corresponding to the instant scene; An execution module, used for sending the target processing logic to the object, so that the object displays each of the target processing logics, and processes the target event in the instant scene according to the target processing logic selected by the user, and generates a processing result of the target event; The logic module is also used to obtain feedback data on the target processing logic sent by the object. If it is determined based on the feedback data that the user is dissatisfied, the processing logic in the processing logic group corresponding to the immediate scenario is modified, and the corresponding relationship is regrouped or re-established after the modification.
5. A data processing device, include: at least one processor; as well as, a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the data processing method described in any one of claims 1 to 3.
6. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the data processing method according to any one of claims 1 to 3.
