Data processing method and device and storage medium

The target data is obtained and sent to the server through the client, which solves the problem that the server cannot detect the display effect in time, and realizes timely detection and fault warning of the display effect of function.

CN120238689APending Publication Date: 2025-07-01BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311865941.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

In the prior art, the server cannot detect whether the display effect of the client is normal in time, resulting in functional failures that cannot be detected in time.

Method used

The client displays the target display effect in response to the operation command and obtains the associated target data acquisition rules, and sends it to the server to determine whether the display effect is normal.

Benefits of technology

By sending target data to the server, the server can timely determine whether the target display effect is normal, improving the stability and reliability of the function display effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120238689A_ABST
    Figure CN120238689A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a data processing method and device and a storage medium, and the method comprises the steps: displaying a target display effect corresponding to a first operation instruction in an interface in response to the first operation instruction, and obtaining an obtaining rule of target data associated with the target display effect; obtaining the target data according to the obtaining rule; and sending the target data to a server, so that the server judges whether the target display effect is normal or not based on the target data. The client displays the corresponding target display effect in response to the first operation instruction, obtains the target data associated with the target display effect and sends the target data to the server, so that whether the target display effect is normally displayed or not can be determined in time, and the function display effect can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of computer and network communication technologies, and in particular, to a data processing method, device, and storage medium. Background Art

[0002] Currently, with the continuous development of intelligent devices, in the clients of some application programs, users can set the display effects of some functions according to their needs, such as special effects for entering a live broadcast room.

[0003] In the prior art, when a user triggers a function that needs to display a specific display effect in the client, the server can respond to the trigger operation of the client and send a corresponding display command to the client, so that the client can display the display effect according to the display command.

[0004] However, the existing solutions cannot effectively determine the situation of function effect display failures in a timely manner. Summary of the Invention

[0005] Embodiments of the present disclosure provide a data processing method, device, and storage medium to timely determine whether a target display effect is normally displayed, which is beneficial to improving the function display effect.

[0006] In a first aspect, embodiments of the present disclosure provide a data processing method, which is applied to a client, and the method includes:

[0007] In response to a first operation instruction, display a target display effect corresponding to the first operation instruction in the interface, and obtain an acquisition rule for target data associated with the target display effect;

[0008] Obtain the target data according to the acquisition rule;

[0009] Send the target data to the server, so that the server determines whether the target display effect is normal based on the target data.

[0010] In a second aspect, embodiments of the present disclosure provide a data processing method, which is applied to a server, and the method includes:

[0011] Receive an acquisition request for an acquisition rule of target data sent by the client after the first operation instruction is triggered; where the target data is target data associated with a target display effect corresponding to the first operation instruction;

[0012] Send the acquisition rule to the client according to the acquisition request;

[0013] Receive the target data sent by the client;

[0014] Determine that the client normally displays the target display effect according to the target data.

[0015] In a third aspect, an embodiment of the present disclosure provides a data processing device, including:

[0016] A display unit, configured to display a target display effect corresponding to the first operation instruction in an interface in response to the first operation instruction;

[0017] A rule acquisition unit, configured to acquire an acquisition rule of target data associated with the target display effect;

[0018] A data acquisition unit, configured to acquire the target data according to the acquisition rule;

[0019] A sending unit, configured to send the target data to a server, so that the server determines whether the target display effect is normal based on the target data.

[0020] In a fourth aspect, an embodiment of the present disclosure provides a data processing device, including:

[0021] A receiving unit, configured to receive an acquisition request of an acquisition rule of target data sent by a client after a first operation instruction is triggered; where the target data is target data associated with a target display effect corresponding to the first operation instruction;

[0022] A sending unit, configured to send the acquisition rule to the client according to the acquisition request;

[0023] The receiving unit is further configured to receive the target data sent by the client;

[0024] A processing unit, configured to determine that the client normally displays the target display effect according to the target data.

[0025] In a fifth aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor and a memory;

[0026] The memory stores computer-executable instructions;

[0027] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the data processing method described in the first aspect and various possible designs of the first aspect above, or the data processing method described in the second aspect and various possible designs of the second aspect.

[0028] In a sixth aspect, an embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the data processing method as described in the first aspect above and all possible designs of the first aspect, or the data processing method as described in the second aspect above and all possible designs of the second aspect.

[0029] In a seventh aspect, an embodiment of the present disclosure provides a computer program product including computer-executable instructions, which, when executed by a processor, implement the data processing method as described in the first aspect above and all possible designs of the first aspect, or the data processing method as described in the second aspect above and all possible designs of the second aspect.

[0030] The data processing method, device, and storage medium provided by the embodiments of the present disclosure display a target display effect corresponding to the first operation instruction in an interface in response to the first operation instruction, and obtain an acquisition rule of target data associated with the target display effect; acquire the target data according to the acquisition rule; and send the target data to a server so that the server determines whether the target display effect is normal based on the target data, thereby enabling timely determination of whether the target display effect is normally displayed and facilitating improvement of the function display effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] To more clearly illustrate the technical solutions in the embodiments of the present disclosure or in the prior art, the following briefly introduces the accompanying drawings required for use in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are some embodiments of the present disclosure, and those of ordinary skill in the art can obtain other drawings based on these drawings without creative efforts.

[0032] Figure 1 It is a scenario example diagram of the data processing method provided by an embodiment of the present disclosure;

[0033] Figure 2 It is a schematic flowchart of the data processing method provided by an embodiment of the present disclosure;

[0034] Figure 3 It is a schematic flowchart of the data processing method provided by another embodiment of the present disclosure;

[0035] Figure 4 It is a structural block diagram of the data processing device provided by another embodiment of the present disclosure;

[0036] Figure 5 It is a structural block diagram of the data processing device provided by an embodiment of the present disclosure;

[0037] Figure 6Schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present disclosure. Detailed implementation manners

[0038] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are some but not all of the embodiments of the present disclosure. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.

[0039] In the prior art, in the client of some application programs, a user can set the display effects of some functions as needed, such as the special effects for entering a live broadcast room.

[0040] In the prior art, when a user triggers a function that needs to display a specific display effect in the client, the server can respond to the trigger operation of the client and send a corresponding display command to the client, so that the client can display the display effect according to the display command.

[0041] However, the server lacks the ability to detect functions and cannot timely discover some possible failures of functions. Generally, the detection usually checks whether the server has sent a display command to the client. However, the server cannot timely know whether the client displays the display effect according to the display command. Therefore, it is impossible to timely discover whether the display effect is normally displayed on the client, and thus it is impossible to timely discover the failure.

[0042] To solve the above technical problems, the present disclosure provides a data processing method. By responding to a first operation instruction, a target display effect corresponding to the first operation instruction is displayed in an interface, and a target data acquisition rule associated with the target display effect is obtained; the target data is acquired according to the acquisition rule; and the target data is sent to the server, where the target data is used to enable the server to determine whether the target display effect is normally displayed. By enabling the client to respond to the first operation instruction to display the corresponding target display effect and sending the target data associated with the target display effect to the server, the server can timely discover whether the target display effect is normally displayed, thereby timely determining whether the target display effect is normally displayed, which is beneficial to improving the function display effect and ensuring the stable operation of the service.

[0043] The application scenario of the data processing method provided by the present disclosure is as Figure 1As shown, it includes a client and a server. A user can trigger a first operation instruction on the client. In response to the first operation instruction, the client can display a target display effect corresponding to the first operation instruction in the interface. Optionally, the client sends a service request for the first operation instruction to the server, and the server can return a corresponding display command (where the display command may include information and / or resources of the target display effect, etc.); in addition, the client can also obtain a rule for obtaining target data associated with the target display effect from the server; the client can obtain the target data according to the obtaining rule and send the target data to the server, and then the server can determine whether the target display effect is displayed normally according to the target data.

[0044] It should be noted that the service request for the first operation instruction and the request for obtaining the rule for obtaining the target data sent to the server can also be regarded as one request. For example, the client only needs to send a service request for the first operation instruction to the server. After receiving the service request for the first operation instruction, the server can return a display command for the target display effect and a rule for obtaining the target data to the client; of course, the client can also send a service request for the first operation instruction and a request for obtaining the rule for obtaining the target data to the server respectively, and the server can respond respectively.

[0045] In addition, based on the target data sent by different clients, the server can determine the number and / or proportion of clients for which the target display effect is not displayed normally, and then determine whether the corresponding service fails according to the number and / or proportion of clients for which the target display effect is not displayed normally.

[0046] It should be noted that in this embodiment, the server can be a single server or a server cluster; alternatively, different functions such as providing services, providing obtaining rules, data receiving and analysis can also be deployed on different servers.

[0047] It can be understood that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, usage scopes, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0048] For example, when responding to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested by the user will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, an application program, a server, or a storage medium that executes the operations of the technical solutions of the present disclosure according to the prompt message.

[0049] As an optional but non-limiting implementation manner, in response to receiving an active request from a user, the manner of sending a prompt message to the user may be, for example, a pop-up window manner, and the prompt message may be presented in text in the pop-up window. In addition, the pop-up window may also carry selection controls for the user to select "agree" or "disagree" to provide personal information to the electronic device.

[0050] It can be understood that the above notification and user authorization acquisition process is only illustrative and does not limit the implementation manner of the present disclosure. Other manners that comply with relevant laws and regulations can also be applied to the implementation manner of the present disclosure. A client for displaying media content may be installed in the user terminal device. When the above client runs, one or more multimedia contents in the media information stream may be displayed.

[0051] The data processing method of the present disclosure will be introduced in detail below with reference to specific embodiments.

[0052] Reference Figure 2 , Figure 2 is a schematic flowchart of a data processing method provided by an embodiment of the present disclosure. The method of this embodiment can be applied to a client. The data processing method includes:

[0053] S201. In response to a first operation instruction, display a target display effect corresponding to the first operation instruction in an interface, and obtain an acquisition rule of target data associated with the target display effect.

[0054] In this embodiment, the first operation instruction may trigger the display of a target display effect in a specific scenario. For example, in the scenario of entering a live broadcast room, the first operation instruction may be an operation instruction to enter the live broadcast room, and the target display effect may be a special effect for entering the live broadcast room, such as displaying a prompt message for the user to enter the live broadcast room in the comment area, or prompting the user to enter the live broadcast room in the form of a banner; again, in the scenario of giving a gift, the first operation instruction may be an operation instruction to give a gift, and the target display effect may be an animation effect related to the gift.

[0055] After the client receives the first operation instruction, the client may respond to the first operation instruction and display the target display effect in the interface. The specific display process may adopt any known process. For example, the server sends a display command of the target display effect to the client, and then the server performs the display according to the display command, etc. This is not limited here.

[0056] However, only the client side can perceive whether the target display effect is normally displayed. The server side cannot perceive it. Therefore, it is impossible to timely perceive whether there is a failure in the relevant service. In order to enable the server side to perceive whether the target display effect is normally displayed and thus timely perceive whether there is a failure in the relevant service, the client can send some target data associated with the target display effect to the server side. These target data can reflect whether the target display effect is normally displayed. Specifically, the target data can be some data associated with the scene to which the target display effect belongs. For example, in the scene of entering a live broadcast room, the target data can include the data in the comment area, or it can also be the judgment result of whether a prompt message indicating that a viewer has entered the live broadcast room is displayed in the comment area, or it can also be the list of live broadcast room viewers, etc.

[0057] Which specific target data the client obtains and how to obtain it can be limited by the acquisition rule. The client can obtain the acquisition rule for the target data associated with the target display effect after receiving the first operation instruction.

[0058] Optionally, the acquisition rule can be obtained from the server side. Specifically, the client can send an acquisition request for the acquisition rule to the server side. The server side can respond to the acquisition request and send the acquisition rule to the client. Among them, the acquisition rule can be a pre-configured and fixed acquisition rule, or it can be a dynamically changing acquisition rule. For example, it can change dynamically according to the client association information. Different client association information corresponds to different target data to be obtained.

[0059] Therefore, when the client sends an acquisition request for the acquisition rule to the server side, it can carry the client association information in the acquisition request. After receiving the acquisition request for the acquisition rule sent by the client, the server side can determine the client association information according to the acquisition request, determine the acquisition rule for this client according to the client association information, and then send the acquisition rule to the client. Of course, the server side can also determine the client association information through other reasonable means, which is not limited here.

[0060] Of course, the acquisition rule can be pre-stored in the storage unit of the client, and the client can obtain the acquisition rule from the storage unit; or the client can also obtain the acquisition rule through any other feasible means.

[0061] S202. Obtain the target data according to the acquisition rule.

[0062] In this embodiment, after obtaining the acquisition rule, the client can obtain the target data according to the acquisition rule.

[0063] Optionally, the acquisition rule may specifically include the target data to be acquired and the acquisition conditions for the target data. During the acquisition process, for any target data, it can be determined whether the acquisition conditions for the target data are met. If it is determined that the acquisition conditions for the target data are met, the target data is acquired.

[0064] The acquisition condition for any one of the target data can be that the client receives a second operation instruction related to the target data, that is, the client acquires the target data only when it detects that the second operation instruction has been received.

[0065] Optionally, since the acquisition conditions for the target data may continuously not be met, a preset time can be set. If the acquisition conditions are met within the preset time after receiving the first instruction, the target data can be acquired; if the acquisition conditions are not met within the preset time after receiving the first instruction, that is, the acquisition conditions are still not met when the preset time after the first instruction arrives, the acquisition of the target data can be stopped to avoid the acquisition task of the target data continuously running and occupying client resources.

[0066] Among them, the preset time can be unified for all target data. Of course, it can also be unified for the target data in the same scenario, and can be different between different scenarios. Or the preset time corresponding to each target data can be separately defined in the acquisition rule, which is not limited here.

[0067] S203. Send the target data to the server so that the server determines whether the target display effect is normal based on the target data.

[0068] In this embodiment, after the client acquires the target data, the target data can be sent to the server so that the server determines whether the target display effect is normally displayed on the client according to the target data. After the server acquires the target data sent by multiple clients, it can determine the number and / or proportion of clients for which the target display effect is not normally displayed, and then determine whether the corresponding service fails according to the number and / or proportion of clients for which the target display effect is not normally displayed.

[0069] Optionally, when the client sends the target data to the server, a specific data format can be used. For example, a data sending template can be preset on the client, or the data sending template can be carried in the acquisition rule. The client can fill the target data into the data sending template and then send it to the server.

[0070] Optionally, when the client sends the target data to the server, it can be sent in real time, that is, the target data is sent to the server as soon as it is obtained; or, the sending time of the target data can also be set in the acquisition rule. After the target data is obtained, the target data is first cached, and after reaching the sending time of the target data, the target data is sent to the server, so as to avoid affecting the operation of other current services of the client. The sending time can be waiting for a specific duration, or it can also be sent when the resource occupancy rate of the client network or the like is relatively low (for example, drops to a preset threshold).

[0071] The data processing method provided in this embodiment displays the target display effect corresponding to the first operation instruction on the interface in response to the first operation instruction, and obtains the acquisition rule of the target data associated with the target display effect; obtains the target data according to the acquisition rule; sends the target data to the server, so that the server determines whether the target display effect is normal based on the target data. By the client responding to the first operation instruction to display the corresponding target display effect and obtaining the target data associated with the target display effect and sending it to the server, the server can timely determine whether the target display effect is normally displayed, which is beneficial to improving the function display effect and ensuring the stable operation of the service.

[0072] Reference Figure 3 , Figure 3 is a schematic flowchart of a data processing method provided by an embodiment of the present disclosure. The method of this embodiment can be applied to the server, and the data processing method includes:

[0073] S301. Receive a request for obtaining an acquisition rule of target data sent by the client after the first operation instruction is triggered; where the target data is target data associated with a target display effect corresponding to the first operation instruction.

[0074] In this embodiment, after the client receives the first operation instruction, in addition to normally responding to the first operation instruction (triggering the display of the target display effect in a specific scenario), the client can also send a request for obtaining the acquisition rule of the target data to the server. The target data and the acquisition rule can be referred to the above embodiment and will not be elaborated here.

[0075] It should be noted that during the process of the client executing the display of the target display effect in response to the first operation, the client can send a service request for the first operation instruction to the server, and the server can return a display command for the target display effect. Optionally, the acquisition request for the acquisition rule of the target data in this embodiment can be the above-mentioned service request for the first operation instruction, that is, the client does not need to send two requests to the server. After receiving the service request for the first operation instruction, the server can return a display command for the target display effect and the acquisition rule of the target data to the client. Of course, the client can also separately send a service request for the first operation instruction and an acquisition request for the acquisition rule of the target data to the server.

[0076] S302. Send the acquisition rule to the client according to the acquisition request.

[0077] In this embodiment, after receiving the acquisition request for the acquisition rule sent by the client, the server can first obtain the acquisition rule and then send the acquisition rule to the client.

[0078] Optionally, for each scenario, the acquisition rule can be a pre-configured and fixed acquisition rule, which can be stored in a database, and the server can query the acquisition rule from the database.

[0079] Optionally, the acquisition rule can also be dynamically changed. For example, it can be dynamically changed according to the client association information. For different client association information, the target data to be acquired is also different.

[0080] Therefore, when the client sends an acquisition request for the acquisition rule to the server, it can carry the client association information in the acquisition request. After receiving the acquisition request for the acquisition rule sent by the client, the server can determine the client association information according to the acquisition request, determine the acquisition rule for this client according to the client association information, and then send the acquisition rule to this client. Of course, the server can also determine the client association information through other reasonable means, which is not limited here.

[0081] Optionally, after receiving the acquisition request for the acquisition rule of the target data sent by the client after the first operation instruction is triggered, filtering can be performed first to filter out the acquisition requests of the clients that do not need to acquire the target data, and the acquisition rule will no longer be sent to this client.

[0082] Optionally, the process of obtaining the acquisition rule can be implemented by a separate rule generation service, which can run on the server side or on other devices (such as the rule generation server), and provide an API interface to the server side. The server side can call the rule generation service through the API interface, and then the rule generation service determines the acquisition rule and returns it to the server side through the API interface, and then the server side sends it to the client.

[0083] Among them, some preset acquisition rule data can also be pre-configured for the client association information and stored in the database. The rule generation service can obtain the corresponding preset acquisition rule data from the database according to the client association information, and then generate the acquisition rule according to the preset acquisition rule data.

[0084] S303. Receive the target data sent by the client.

[0085] In this embodiment, after obtaining the acquisition rule, the client can obtain the target data according to the acquisition rule and upload the target data to the server side. The server side can receive the target data uploaded by the client. For the specific process, please refer to the above embodiment.

[0086] S304. Determine whether the client normally displays the target display effect according to the target data.

[0087] In this embodiment, there are differences in the target data between the normal display of the target display effect and the abnormal display of the target display effect. Therefore, it can be determined whether the target display effect is normally displayed on the client according to the target data.

[0088] Optionally, after the server side obtains the target data sent by multiple clients, it can determine the number and / or proportion of clients with abnormal display of the target display effect, and then determine whether the corresponding service fails according to the number and / or proportion of clients with abnormal display of the target display effect.

[0089] Specifically, if the number of clients with abnormal display of the target display effect exceeds the preset client number threshold, and / or the proportion of clients with abnormal display of the target display effect exceeds the preset proportion threshold, it is determined that the service corresponding to the scenario of the target display effect fails.

[0090] Based on the above embodiments, after receiving the first operation instruction, the client can send a service request for the first operation instruction to the server (which can also be regarded as a request for obtaining the acquisition rule of the target data). The server can, based on the service request for the first operation instruction, send a service request to the downstream business server and call the API interface to send an acquisition rule acquisition request to the rule generation server. The downstream business server can perform business processing based on the service request and return the business processing result to the server. The rule generation server can, based on the acquisition rule acquisition request, pull the acquisition rule data from the database and generate an acquisition rule, and then return the acquisition rule to the server. Furthermore, the server can send a display command (which can include the business result) and the acquisition rule to the client. The client can display the target display effect based on the display command and obtain the target data based on the acquisition rule. Refer to the above embodiments. Among them, when the server sends a service request to the downstream business server, it can adopt a synchronous request method; while when the server sends an acquisition rule acquisition request to the rule generation server, it can adopt an asynchronous weakly dependent request method, and this request does not affect the normal business. Even if the request fails and the acquisition rule is not obtained, it does not affect the normal business.

[0091] Corresponding to the data processing method on the client side in the above embodiments, Figure 4 This is a structural block diagram of a data processing device provided by an embodiment of the present disclosure. For the sake of convenience of description, only the parts related to the embodiments of the present disclosure are shown. Referring to Figure 4 The data processing device 400 includes: a display unit 401, a rule acquisition unit 402, a data acquisition unit 403, and a sending unit 404.

[0092] Among them, the display unit 401 is configured to, in response to the first operation instruction, display the target display effect corresponding to the first operation instruction on the interface;

[0093] The rule acquisition unit 402 is configured to acquire the acquisition rule of the target data associated with the target display effect;

[0094] The data acquisition unit 403 is configured to acquire the target data according to the acquisition rule;

[0095] The sending unit 404 is configured to send the target data to the server so that the server can judge whether the target display effect is normal based on the target data.

[0096] In one or more embodiments of the present disclosure, the acquisition rule includes the acquisition condition of the target data; correspondingly, when the data acquisition unit 403 acquires the target data according to the acquisition rule, it is configured to:

[0097] Determine whether the acquisition condition is satisfied. If it is determined that the acquisition condition is satisfied, then acquire the target data.

[0098] In one or more embodiments of the present disclosure, the acquisition condition for the target data is receiving a second operation instruction related to the target data; when the data acquisition unit 403 determines whether the acquisition condition is satisfied and acquires the target data if it is determined that the acquisition condition is satisfied, it is used for:

[0099] Detect whether the second operation instruction is received. If the second operation instruction is received, then acquire the target data.

[0100] In one or more embodiments of the present disclosure, when the data acquisition unit 403 determines that the acquisition condition is satisfied and acquires the target data, it is used for:

[0101] If the acquisition condition is satisfied within a preset time after receiving the first operation instruction, then acquire the target data; or

[0102] If the acquisition condition is not satisfied within a preset time after receiving the first operation instruction, then stop acquiring the target data.

[0103] In one or more embodiments of the present disclosure, when the rule acquisition unit 402 acquires the acquisition rule of the target data associated with the target display effect, it is used for:

[0104] Send an acquisition request for the acquisition rule to the server and receive the acquisition rule returned by the server based on the client association information.

[0105] The data processing device provided in this embodiment can be used to execute the technical solutions of the above method embodiments. The implementation principles and technical effects are similar, and will not be elaborated here.

[0106] Corresponding to the data processing method on the server side in the above embodiment, Figure 5 This is a structural block diagram of the data processing device provided in the embodiments of the present disclosure. For the sake of convenience of description, only the parts related to the embodiments of the present disclosure are shown. Referring to Figure 5 The data processing device 500 includes: a receiving unit 501, a sending unit 502, and a processing unit 503.

[0107] Among them, the receiving unit 501 is used to receive an acquisition request for the acquisition rule of the target data sent by the client after the first operation instruction is triggered; where the target data is the target data associated with the target display effect corresponding to the first operation instruction;

[0108] A sending unit 502, configured to send the acquisition rule to the client according to the acquisition request;

[0109] The receiving unit 501 is further configured to receive the target data sent by the client;

[0110] A processing unit 503, configured to determine whether the client normally displays the target display effect according to the target data.

[0111] In one or more embodiments of the present disclosure, after the processing unit 503 determines that the client normally displays the target display effect according to the target data, it is further configured to:

[0112] Determine the number and / or proportion of clients for which the target display effect is not normally displayed;

[0113] If the number of clients for which the target display effect is not normally displayed exceeds a preset client number threshold, and / or the proportion of clients for which the target display effect is not normally displayed exceeds a preset proportion threshold, it is determined that a service corresponding to the scenario of the target display effect fails.

[0114] In one or more embodiments of the present disclosure, when the sending unit 502 sends the acquisition rule to the client according to the acquisition request, it is configured to:

[0115] Determine the client association information according to the acquisition request, determine the acquisition rule according to the client association information, and send the acquisition rule to the client.

[0116] In one or more embodiments of the present disclosure, when the sending unit 502 determines the acquisition rule according to the client association information, it is configured to:

[0117] Call a rule generation service, obtain corresponding preset acquisition rule data from a database according to the client association information, and generate the acquisition rule according to the preset acquisition rule data.

[0118] The data processing device provided in this embodiment can be used to execute the technical solutions of the above method embodiments, and its implementation principle and technical effects are similar, which will not be elaborated here in this embodiment.

[0119] Reference Figure 6, which shows a schematic structural diagram of an electronic device 600 suitable for implementing the embodiments of the present disclosure. The electronic device 600 may be a terminal device or a server. Among them, the terminal device may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (PADs), portable media players (PMPs), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The electronic device shown is merely an example and should not impose any limitations on the functions and usage scope of the embodiments of the present disclosure.

[0120] As Figure 6 shown, the electronic device 600 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 601, which may perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 602 or the program loaded from the storage device 608 into the random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. The input / output (I / O) interface 605 is also connected to the bus 604.

[0121] Generally, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or wiredly to exchange data. Although Figure 6 shows the electronic device 600 having various devices, it should be understood that it is not required to implement or have all the shown devices. More or fewer devices may be implemented or had alternatively.

[0122] In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, an embodiment of the present disclosure includes a computer program product that includes a computer program carried on a computer-readable medium, and the computer program includes program code for performing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by a processing device 601, the above-described functions defined in the methods on the client or server side of the embodiments of the present disclosure are performed.

[0123] It should be noted that the above-mentioned computer-readable medium in the present disclosure can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of a computer-readable storage medium can include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. And in the present disclosure, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable signal medium can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0124] The above-mentioned computer-readable medium can be included in the above-mentioned electronic device; or it can exist separately without being assembled into the electronic device.

[0125] The above-mentioned computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device is caused to perform the methods shown in the above embodiments.

[0126] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0127] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, may be implemented by a dedicated hardware-based system for performing the specified functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions.

[0128] The units involved in the embodiments described in the present disclosure may be implemented in software or in hardware. Among them, the name of the unit does not constitute a limitation on the unit itself in some cases. For example, the first acquisition unit may also be described as "the unit for acquiring at least two Internet protocol addresses".

[0129] The functions described above in this document may be performed at least in part by one or more hardware logic components. For example, by way of non-limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGA), application specific integrated circuits (ASIC), application specific standard products (ASSP), system on a chip (SOC), complex programmable logic devices (CPLD), and so on.

[0130] In the context of the present disclosure, a machine-readable medium may be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0131] In a first aspect, according to one or more embodiments of the present disclosure, there is provided a data processing method applied to a client, the method including:

[0132] In response to a first operation instruction, display a target display effect corresponding to the first operation instruction in an interface, and obtain a rule for obtaining target data associated with the target display effect;

[0133] Obtain the target data according to the obtaining rule;

[0134] Send the target data to a server so that the server determines whether the target display effect is normal based on the target data.

[0135] According to one or more embodiments of the present disclosure, the obtaining rule includes obtaining conditions for the target data; correspondingly, obtaining the target data according to the obtaining rule includes:

[0136] Determine whether the obtaining conditions are satisfied, and if it is determined that the obtaining conditions are satisfied, obtain the target data.

[0137] According to one or more embodiments of the present disclosure, the obtaining condition for the target data is receiving a second operation instruction related to the target data; determining whether the obtaining conditions are satisfied and, if it is determined that the obtaining conditions are satisfied, obtaining the target data includes:

[0138] Detect whether the second operation instruction is received, and if the second operation instruction is received, obtain the target data.

[0139] According to one or more embodiments of the present disclosure, if it is determined that the obtaining conditions are satisfied, obtaining the target data includes:

[0140] If the acquisition condition is satisfied within a preset time after receiving the first operation instruction, acquire the target data; or

[0141] If the acquisition condition is not satisfied within a preset time after receiving the first operation instruction, stop acquiring the target data.

[0142] According to one or more embodiments of the present disclosure, the acquisition rule for acquiring target data associated with the target display effect includes:

[0143] Send an acquisition request for the acquisition rule to the server, and receive the acquisition rule returned by the server based on the client association information.

[0144] In a second aspect, according to one or more embodiments of the present disclosure, a data processing method is provided, which is applied to a server. The method includes:

[0145] Receive an acquisition request for an acquisition rule of target data sent by a client after a first operation instruction is triggered; wherein the target data is target data associated with a target display effect corresponding to the first operation instruction;

[0146] Send the acquisition rule to the client according to the acquisition request;

[0147] Receive the target data sent by the client;

[0148] Judge whether the client normally displays the target display effect according to the target data.

[0149] According to one or more embodiments of the present disclosure, after judging that the client normally displays the target display effect according to the target data, it further includes:

[0150] Determine the number and / or proportion of clients for which the target display effect is not normally displayed;

[0151] If the number of clients for which the target display effect is not normally displayed exceeds a preset client number threshold, and / or the proportion of clients for which the target display effect is not normally displayed exceeds a preset proportion threshold, determine that a service corresponding to the scenario of the target display effect fails.

[0152] According to one or more embodiments of the present disclosure, sending the acquisition rule to the client according to the acquisition request includes:

[0153] Determine the client association information according to the acquisition request, determine the acquisition rule according to the client association information, and send the acquisition rule to the client.

[0154] According to one or more embodiments of the present disclosure, determining the acquisition rule according to the client association information includes:

[0155] Invoking a rule generation service, obtaining corresponding preset acquisition rule data from a database according to the client association information, and generating the acquisition rule according to the preset acquisition rule data.

[0156] In a third aspect, according to one or more embodiments of the present disclosure, a data processing device is provided, including:

[0157] A display unit, configured to display a target display effect corresponding to the first operation instruction in an interface in response to the first operation instruction;

[0158] A rule acquisition unit, configured to acquire an acquisition rule of target data associated with the target display effect;

[0159] A data acquisition unit, configured to acquire the target data according to the acquisition rule;

[0160] A sending unit, configured to send the target data to a server, so that the server determines whether the target display effect is normal based on the target data.

[0161] According to one or more embodiments of the present disclosure, the acquisition rule includes an acquisition condition of the target data; correspondingly, when the data acquisition unit acquires the target data according to the acquisition rule, it is configured to:

[0162] Judge whether the acquisition condition is satisfied. If it is determined that the acquisition condition is satisfied, then acquire the target data.

[0163] According to one or more embodiments of the present disclosure, the acquisition condition of the target data is receiving a second operation instruction related to the target data; when the data acquisition unit judges whether the acquisition condition is satisfied and acquires the target data if it is determined that the acquisition condition is satisfied, it is configured to:

[0164] Detect whether the second operation instruction is received. If the second operation instruction is received, then acquire the target data.

[0165] According to one or more embodiments of the present disclosure, when the data acquisition unit determines that the acquisition condition is satisfied and acquires the target data, it is configured to:

[0166] If the acquisition condition is satisfied within a preset time after receiving the first operation instruction, then acquire the target data; or

[0167] If the acquisition condition is not satisfied within a preset time after receiving the first operation instruction, then stop acquiring the target data.

[0168] According to one or more embodiments of the present disclosure, when obtaining the acquisition rule of the target data associated with the target display effect, the rule acquisition unit is configured to:

[0169] Send an acquisition request for the acquisition rule to the server, and receive the acquisition rule returned by the server based on the client association information.

[0170] Fourthly, according to one or more embodiments of the present disclosure, a data processing device is provided, including:

[0171] A receiving unit, configured to receive an acquisition request for an acquisition rule of target data sent by a client after a first operation instruction is triggered; wherein the target data is target data associated with a target display effect corresponding to the first operation instruction;

[0172] A sending unit, configured to send the acquisition rule to the client according to the acquisition request;

[0173] The receiving unit is further configured to receive the target data sent by the client;

[0174] A processing unit, configured to determine whether the client normally displays the target display effect according to the target data.

[0175] According to one or more embodiments of the present disclosure, after determining that the client normally displays the target display effect according to the target data, the processing unit is further configured to:

[0176] Determine the number and / or proportion of clients for which the target display effect is not normally displayed;

[0177] If the number of clients for which the target display effect is not normally displayed exceeds a preset client number threshold, and / or the proportion of clients for which the target display effect is not normally displayed exceeds a preset proportion threshold, it is determined that a service corresponding to the scenario of the target display effect fails.

[0178] According to one or more embodiments of the present disclosure, when sending the acquisition rule to the client according to the acquisition request, the sending unit is configured to:

[0179] Determine the client association information according to the acquisition request, determine the acquisition rule according to the client association information, and send the acquisition rule to the client.

[0180] According to one or more embodiments of the present disclosure, when determining the acquisition rule according to the client association information, the sending unit is configured to:

[0181] Invoke the rule generation service, obtain the corresponding preset acquisition rule data from the database according to the client association information, and generate the acquisition rule according to the preset acquisition rule data.

[0182] In a fifth aspect, according to one or more embodiments of the present disclosure, there is provided an electronic device, including: at least one processor and a memory;

[0183] The memory stores computer-executable instructions;

[0184] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the data processing method described in the first aspect above and various possible designs of the first aspect, or the data processing method described in the second aspect above and various possible designs of the second aspect.

[0185] In a sixth aspect, according to one or more embodiments of the present disclosure, there is provided a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the data processing method described in the first aspect above and various possible designs of the first aspect, or the data processing method described in the second aspect above and various possible designs of the second aspect are implemented.

[0186] In a seventh aspect, according to one or more embodiments of the present disclosure, there is provided a computer program product, including computer-executable instructions. When a processor executes the computer-executable instructions, the data processing method described in the first aspect above and various possible designs of the first aspect, or the data processing method described in the second aspect above and various possible designs of the second aspect are implemented.

[0187] The above description is only a preferred embodiment of the present disclosure and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, and should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosure concept. For example, the technical solutions formed by mutually replacing the above features with the technical features (but not limited to) having similar functions disclosed in the present disclosure.

[0188] Moreover, although the operations are depicted in a particular order, this should not be construed as requiring that the operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although several specific implementation details are included in the foregoing discussion, these should not be construed as limitations on the scope of the present disclosure. Certain features that are described in the context of separate embodiments may also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment may also be implemented separately or in any suitable sub-combination in multiple embodiments.

[0189] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.

Claims

1. A data processing method, characterized in that Applied to a client, the method includes: In response to a first operation instruction, display a target display effect corresponding to the first operation instruction in an interface, and obtain an acquisition rule for target data associated with the target display effect; Obtain the target data according to the acquisition rule; Send the target data to a server so that the server determines whether the target display effect is normal based on the target data.

2. The method according to claim 1, characterized in that The acquisition rule includes acquisition conditions for the target data; correspondingly, the obtaining of the target data according to the acquisition rule includes: Judge whether the acquisition conditions are met. If it is determined that the acquisition conditions are met, obtain the target data.

3. The method according to claim 2, wherein The acquisition condition for the target data is receiving a second operation instruction related to the target data; the judging whether the acquisition conditions are met. If it is determined that the acquisition conditions are met, obtain the target data, includes: Detect whether the second operation instruction is received. If the second operation instruction is received, obtain the target data.

4. The method according to claim 2 or 3, characterized in that, The if it is determined that the acquisition conditions are met, obtain the target data, includes: If the acquisition conditions are met within a preset time after receiving the first operation instruction, obtain the target data; or If the acquisition conditions are not met within a preset time after receiving the first operation instruction, stop obtaining the target data.

5. The method according to any one of claims 1-3, characterized in that The acquisition rule for obtaining target data associated with the target display effect includes: Send an acquisition request for the acquisition rule to the server, and receive the acquisition rule returned by the server based on the association information of the client.

6. A data processing method, characterized in that, Applied to a server, the method includes: Receive an acquisition request for an acquisition rule of target data sent by a client after a first operation instruction is triggered; wherein the target data is target data associated with a target display effect corresponding to the first operation instruction; Send the acquisition rule to the client according to the acquisition request; Receive the target data sent by the client; Judge whether the client displays the target display effect normally based on the target data.

7. The method according to claim 6, characterized in that After judging that the client displays the target display effect normally according to the target data, it further includes: Determine the number and / or proportion of clients for which the target display effect is not displayed normally; If the number of clients for which the target display effect is not displayed normally exceeds a preset client number threshold, and / or the proportion of clients for which the target display effect is not displayed normally exceeds a preset proportion threshold, determine that a service corresponding to the scenario of the target display effect has failed.

8. The method according to claim 6, wherein The sending the acquisition rule to the client according to the acquisition request includes: Determine the association information of the client according to the acquisition request, determine the acquisition rule according to the client association information, and send the acquisition rule to the client.

9. The method according to claim 8, characterized in that, The determining the acquisition rule according to the client association information includes: Call a rule generation service, obtain corresponding preset acquisition rule data from a database according to the association information of the client, and generate the acquisition rule according to the preset acquisition rule data.

10. A data processing device, characterized in that, Includes: A display unit, configured to display, in an interface, a target display effect corresponding to the first operation instruction in response to the first operation instruction; A rule acquisition unit, configured to acquire an acquisition rule of target data associated with the target display effect; A data acquisition unit, configured to acquire the target data according to the acquisition rule; A sending unit, configured to send the target data to a server, so that the server determines whether the target display effect is normal based on the target data.

11. A data processing device, characterized in that, Comprising: A receiving unit, configured to receive an acquisition request for an acquisition rule of target data sent by a client after a first operation instruction is triggered; Wherein the target data is target data associated with a target display effect corresponding to the first operation instruction; A sending unit, configured to send the acquisition rule to the client according to the acquisition request; The receiving unit is further configured to receive the target data sent by the client; A processing unit, configured to determine whether the client displays the target display effect normally according to the target data.

12. An electronic device, characterized in that, Comprising: At least one processor and a memory; The memory stores computer execution instructions; The at least one processor executes the computer execution instructions stored in the memory, so that the at least one processor executes the method according to any one of claims 1-9.

13. A computer-readable storage medium, characterized in that, Computer execution instructions are stored in the computer-readable storage medium, and when the processor executes the computer execution instructions, the method according to any one of claims 1-9 is implemented.

14. A computer program product, characterized in that, Comprising computer execution instructions, and when the processor executes the computer execution instructions, the method according to any one of claims 1-9 is implemented.