Data processing method, device and equipment and computer readable storage medium
A data processing method enhances display efficiency and effect by dynamically displaying business controls and messages based on operation conditions, addressing the inefficiencies caused by fixed-function controls in existing applications.
Patent Information
- Application Number
- CN202310762989.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-26
- Publication Date
- 2024-12-27
AI Technical Summary
Existing applications face reduced display efficiency and effect due to continuous access of business functions, leading to an increase in fixed-function controls that hinder the display of business messages.
Implementing a data processing method that displays business controls and messages dynamically based on operation conditions, using a second application's business functions, and managing display duration and brightness to enhance visibility and efficiency.
Improves the display effect and efficiency of business messages by providing non-fixed controls that are conditionally displayed, enhancing user interaction and reducing unnecessary visual clutter.
Smart Images

Figure CN119211178A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to a data processing method, apparatus, device, and computer-readable storage medium. Background Art
[0002] With the development of Internet technology, various applications emerge in an endless stream. In order to reduce the memory of terminal devices and reduce the development cost and promotion cost of applications, subroutines in applications are developing rapidly.
[0003] In the prior art, the first application can access the business functions provided by the second application, so the business object can perform business operations associated with the business functions in the first application or the subprogram corresponding to the first application, wherein the subprogram corresponding to the first application can be located in the second application. The subprogram corresponding to the first application located in the second application can display fixed-function controls associated with the business functions. Obviously, as the business functions provided by the second application are continuously accessed, the subprogram corresponding to the first application will continuously increase the fixed-function controls, which reduces the display effect of the subprogram corresponding to the first application; in addition, the fixed-function controls only have the function of jumping to the business page for displaying business messages, that is, if the business object does not trigger the fixed-function controls, the business messages will not be displayed, so the prior art reduces the display efficiency of business messages. Summary of the invention
[0004] The embodiments of the present application provide a data processing method, apparatus, device, and computer-readable storage medium, which can not only improve the display effect of the first subroutine, but also improve the display efficiency of the first business message.
[0005] On the one hand, an embodiment of the present application provides a data processing method, including:
[0006] If a first business operation performed by a business object in a first application satisfies a control display condition, a first business control is displayed in a first subprogram in a second application; the first business operation is implemented by a business function provided by the second application; the first business control is provided by the second application; and the business platform corresponding to the first application is the same as the business platform corresponding to the first subprogram;
[0007] A first business message is displayed in the first business control; the first business message is provided by the second application, and the first business message is associated with the first business operation.
[0008] An embodiment of the present application provides a data processing device, including:
[0009] A first display module is used to display a first business control in a first subprogram in a second application if a first business operation performed by a business object in a first application satisfies a control display condition; the first business operation is implemented by a business function provided by the second application; the first business control is provided by the second application; and the business platform corresponding to the first application is the same as the business platform corresponding to the first subprogram;
[0010] The second display module is used to display a first business message in the first business control; the first business message is provided by the second application, and the first business message is associated with the first business operation.
[0011] The data processing device further includes:
[0012] The first response module is used to respond to the trigger operation on the first business control and display the business page provided by the second application; the business page is used for the business object to perform a second business operation associated with the first business operation.
[0013] The data processing device further includes:
[0014] A second response module is used to respond to the input operation on the business page, obtain the input information, and determine the input information as a second business message; the second business message is sent by the second application to the first application;
[0015] The third response module is used to respond to the trigger operation of the return control in the business page, return from the business page to the first subprogram, and cancel the display of the first business control in the first subprogram.
[0016] The data processing device further includes:
[0017] The third display module is used to display the first business control in the second subprogram in the second application if the business object performs the first business operation in the third application; the business platform corresponding to the third application is the same as the business platform corresponding to the second subprogram, and the business platform corresponding to the third application is different from the business platform corresponding to the first application.
[0018] The data processing device further includes:
[0019] The duration statistics module is used to count the continuous display duration of the first business control, and if the continuous display duration is equal to the total display duration threshold, the first business control is cancelled.
[0020] Wherein, the first display module includes:
[0021] A first response unit, used to respond to a first business operation performed by the business object in the first application;
[0022] A first display unit, configured to display a first business control in a first subprogram in a second application at a first moment if the first business operation satisfies a control display condition;
[0023] The data processing device further comprises:
[0024] A fourth response module, used for responding to a third business operation performed by the business object in the first application at a second moment;
[0025] A difference determination module, used to determine the time difference between the second moment and the first moment if the third business operation meets the control display condition; the third business operation is realized by the business function provided by the second application;
[0026] The first display module is further configured to continuously display the first service control in the first subprogram if the time difference is less than a total display duration threshold;
[0027] A first updating module is used for updating and displaying the first business control as a second business control in the first subroutine if the time difference is equal to the total display duration threshold, and displaying a third business message in the second business control; the second business control is provided by the second application; the third business message is provided by the second application, and the third business message is associated with a third business operation;
[0028] The first display module is further configured to display the second service control in the first subprogram if the time difference is greater than the total time threshold.
[0029] Wherein, the first display module includes:
[0030] A second response unit, used to respond to a first business operation performed by the business object in the first application;
[0031] A second display unit is used to display the first business control in the current page of the first subprogram at a third moment if the first business operation meets the control display condition; the first subprogram is a subprogram in the second application;
[0032] The data processing device further comprises:
[0033] A second updating module is used to respond to a page update operation on the current page at a fourth time, and update the current page to display as a current updated page; the fourth time is later than the third time;
[0034] The fourth display module is used to keep displaying the first business control in the current update page if the time difference between the fourth moment and the third moment is less than the total display time threshold.
[0035] The first display module is specifically used to determine the first brightness mode of the second application, and display the first business control in the first brightness mode in the first subprogram;
[0036] The second display module is specifically configured to display the first service message in the first service control in a second brightness mode; the second brightness mode is different from the first brightness mode.
[0037] Wherein, the second display module includes:
[0038] A third display unit is used to continuously display the first business message with a first visual parameter; the first visual parameter belongs to a visual parameter in a first brightness mode;
[0039] A first statistical unit, used to count a first display time duration of continuously displaying a first business message with a first visual parameter;
[0040] A first processing unit, configured to perform visual parameter change processing on the first service message starting from the first visual parameter when the first display duration is greater than a first display duration threshold;
[0041] The first stopping unit is used to dynamically display the first business message with the changed visual parameter until the changed visual parameter reaches a second visual parameter, and then stop the visual parameter change process; the second visual parameter belongs to the visual parameter under the second brightness mode.
[0042] Wherein, the second display module further includes:
[0043] A fourth display unit, configured to continuously display the first service message with the second visual parameter when the changed visual parameter reaches the second visual parameter;
[0044] A second statistical unit, used for counting a second display time duration of continuously displaying the first business message with a second visual parameter;
[0045] A second processing unit is used to perform a reverse change process of the visual parameter of the first service message starting from the second visual parameter when the second display time is greater than the second display time threshold;
[0046] A second stopping unit is used to dynamically display the first business message with the reversely changed visual parameter until the reversely changed visual parameter reaches the first visual parameter, and then stop the reverse change process of the visual parameter; the second display time threshold is greater than the first display time threshold;
[0047] The third display unit is further configured to continuously display the first service message with the first visual parameter when the reversely changed visual parameter reaches the first visual parameter;
[0048] The first counting unit is further used to count a third display time duration of continuously displaying the first business message with the first visual parameter;
[0049] The third display unit is also used to cancel the display of the first business message when the third display time is greater than a third display time threshold; the third display time threshold is less than the first display time threshold.
[0050] Wherein, the first display module includes:
[0051] A first acquisition unit is used to respond to a first business operation performed by a business object in a first application, and acquire a business prompt message corresponding to the first business operation through a second application; the business platform corresponding to the second application is different from the business platform corresponding to the first application;
[0052] The first storage unit is used to determine the program state of the first subprogram in the second application, and if the program state of the first subprogram is an unstarted state, store the service prompt message in a cache database corresponding to the second application; the service prompt message stored in the cache database is used to be transmitted to the platform basic library corresponding to the second application when the program state of the first subprogram is updated from an unstarted state to a started state;
[0053] The second storage unit is used to store the service prompt message in the platform basic library if the program state of the first subprogram is the startup state;
[0054] A second acquisition unit is used to acquire a platform operation strategy from a platform basic library, and if the platform operation strategy contains a first business message associated with the business prompt message, determine that the first business operation meets the control display condition;
[0055] The fifth display unit is used to display the first business control in the first subprogram.
[0056] Wherein, the second storage unit comprises:
[0057] A first acquisition subunit is used to acquire a program index of a first subprogram, and acquire a message index table stored in association with the program index in a platform basic library;
[0058] A second acquisition subunit is used to acquire a message identifier of the service prompt message, and if there is no historical service prompt message having an index relationship with the message identifier in the message index table, the message identifier and the service prompt message are associated and stored in the message index table;
[0059] The message updating subunit is used to update the historical service prompt message in the message index table to the service prompt message if there is a historical service prompt message having an index relationship with the message identifier in the message index table.
[0060] Wherein, the fifth display unit comprises:
[0061] A third acquisition subunit is used to acquire, in the platform operation strategy, a display method associated with the service prompt message and a display condition associated with the service prompt message;
[0062] The control display subunit is used to display the first business control in a display manner in the first subprogram when the first business control meets the display condition.
[0063] On one hand, the present application provides a computer device, including: a processor, a memory, and a network interface;
[0064] The above-mentioned processor is connected to the above-mentioned memory and the above-mentioned network interface, wherein the above-mentioned network interface is used to provide a data communication function, the above-mentioned memory is used to store a computer program, and the above-mentioned processor is used to call the above-mentioned computer program so that the computer device executes the method in the embodiment of the present application.
[0065] On one hand, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. The computer program is suitable for being loaded by a processor and executing the method in the embodiment of the present application.
[0066] On the one hand, an embodiment of the present application provides a computer program product, which includes a computer program stored in a computer-readable storage medium; a processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the method in the embodiment of the present application.
[0067] In an embodiment of the present application, if the first business operation performed by the business object in the first application satisfies the control display condition, the terminal device can display the first business control in the first subroutine of the second application, and the first business operation is realized by the business function provided by the second application; the first business control is provided by the second application; the business platform corresponding to the first application is the same as the business platform corresponding to the first subroutine; further, the terminal device can display the first business message in the first business control; the first business message is provided by the second application, and the first business message is associated with the first business operation. As can be seen from the above, an embodiment of the present application provides a non-fixed first business control, which is provided by the second application to the first subroutine of the second application, and through the first business control, the second application can send the first business message, so the use of this application can not only improve the display effect of the first subroutine, but also improve the display efficiency of the first business message. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0069] Figure 1 It is a schematic diagram of a system architecture provided by an embodiment of the present application;
[0070] Figure 2 This is a data processing scenario provided by an embodiment of the present application. Figure 1 ;
[0071] Figure 3 This is a data processing scenario provided by an embodiment of the present application. Figure 2 ;
[0072] Figure 4 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 1 ;
[0073] Figure 5 This is a data processing scenario provided by an embodiment of the present application. Figure 3 ;
[0074] Figure 6 This is a data processing scenario provided by an embodiment of the present application. Figure 4 ;
[0075] Figure 7 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 2 ;
[0076] Figure 8 This is a data processing scenario provided by an embodiment of the present application. Figure 5 ;
[0077] Fig. 9 This is a data processing scenario provided by an embodiment of the present application. Figure 6 ;
[0078] Fig.10 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 3 ;
[0079] Fig.11 is a structural schematic diagram of a data processing device provided in an embodiment of the present application;
[0080] Fig.12 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0081] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0082] See also Figure 1 , Figure 1 Schematic diagram of a system architecture provided by an embodiment of the present application. Figure 1 As shown, the system may include a service server 100, a service server cluster 102, and a terminal device cluster. It is understandable that the terminal device cluster may include one or more terminal devices, and the present application does not limit the number of terminal devices. Figure 1 As shown, the terminal device cluster may include: terminal device 101a, terminal device 101b, ..., terminal device 101n. Each terminal device in the terminal device cluster may include: smart phones, tablet computers, laptop computers, desktop computers, smart speakers, smart watches, car terminals, smart TVs and other smart terminals with digital resource transfer functions.
[0083] It should be understood that Figure 1 Each terminal device in the terminal device cluster shown in the figure may be installed with multiple application clients, including independent clients and embedded sub-clients integrated in the independent clients. In the embodiment of the present application, the independent client is referred to as the second application. When the second application runs in each terminal device, it can be respectively connected to the above-mentioned Figure 1 The business server 100 shown in the figure performs data interaction. Among them, the second application can be an application client with an embedded subroutine function, such as a video application, a convenient life application, a payment application, a financial application, a game application, a shopping application, a novel application, a browser, etc. The subprograms in the embodiment of the present application include but are not limited to the first subprogram and the second subprogram. Any subprogram of the present application is an embedded subclient, such as a mini-program.
[0084] Among them, the business platform corresponding to the first subprogram is the same as the business platform corresponding to the first application. The first application in the embodiment of the present application may include a first subprogram developed by a business platform (for example, business platform a) and embedded in the second application. In addition, the first application may also include an independent client.
[0085] Among them, the business platform corresponding to the second subprogram is the same as the business platform corresponding to the third application, and the business platform corresponding to the second subprogram is different from the business platform corresponding to the first subprogram; the second application in the embodiment of the present application may include a second subprogram developed by another business platform (for example, business platform b) and embedded in the second application. In addition, the first application may also include an independent client.
[0086] The business server 100 in the embodiment of the present application may be a server corresponding to the above-mentioned second application. Taking the second application as a payment application as an example, the business server 100 may be a collection of multiple servers including a backend server corresponding to the payment application, a data processing server, etc. Therefore, each terminal device may transmit data with the business server 100 through the application client corresponding to the payment application. For example, each terminal device may upload the second business message generated locally to the business server 100 through the application client of the payment application, and the business server 100 may forward the second business message to the business server corresponding to the first application, for example Figure 1 The business server 102a in the business server cluster 102 or the business server 100 in the example uploads the second business message to the cloud server. Optionally, the terminal device can send the second business message directly to the business server 102a in a peer-to-peer (P2P) manner. The business server 100 can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.
[0087] It is understandable that the above-mentioned service server cluster 102 may include one or more service servers, and the present application does not limit the number of service servers. Figure 1 As shown, the business server cluster 102 may include: business server 102a, business server 102b, ..., business server 102n. Each business server in the business server cluster 102 may be a server corresponding to a business platform having a function of providing a subprogram, for example, business server 102a is a server corresponding to a first business platform providing a first subprogram, business server 102b is a server corresponding to a second business platform providing a second subprogram, and business server 102n is a server corresponding to a third business platform providing a third subprogram. The first business platform, the second business platform, and the third business platform are independent business platforms, and are all different from the business platform corresponding to the second application. Each business server in the business server cluster 102 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0088] Among them, there may be a communication connection between the terminal device clusters, for example, there is a communication connection between the terminal device 101a and the terminal device 101b, and there is a communication connection between the terminal device 101a and the terminal device 101n. At the same time, any terminal device in the terminal device cluster may have a communication connection with the business server 100, for example, there is a communication connection between the terminal device 101a and the business server 100. At the same time, any terminal device in the terminal device cluster may have a communication connection with any business server in the business server cluster 102, for example, there is a communication connection between the terminal device 101a and the business server cluster 102. At the same time, any business server in the business server cluster 102 may have a communication connection with the business server 100. Among them, the above-mentioned communication connection does not limit the connection method, and can be directly or indirectly connected through a wired communication method, or directly or indirectly connected through a wireless communication method, or through other methods, and this application does not make any restrictions here.
[0089] It is understandable that when the relevant data (such as business reminder messages and second business messages) in this application are collected and processed in instance applications, they should be strictly in accordance with the requirements of relevant national laws and regulations, obtain the informed consent or separate consent of the personal information subject, and carry out subsequent data use and processing within the scope of authorization of laws and regulations and the personal information subject.
[0090] To facilitate subsequent understanding and description, the embodiments of the present application can be Figure 1 A terminal device is selected from the terminal device cluster shown for example, for example, terminal device 101a is used as an example. There is a binding relationship between the business object and the terminal device 101a, and the business object is an object for operating the terminal device 101a. The terminal device 101a is installed with a second application, and the second application can be embedded in the first subprogram. The first subprogram (the first application is also the same) is a short video application, video application, live broadcast application, game application, music application, shopping application, novel application, browser and other application clients that are different from the second application.
[0091] The business object performs a first business operation in a first application (such as a first subprogram and an independent client) installed in the terminal device 101a. Since the first business operation is implemented by a business function provided by a second application, the business server corresponding to the second application, such as Figure 1 The business server 100 in the example can judge the first business operation, that is, whether the first business operation meets the control display condition. If the first business operation meets the control display condition, the business server 100 can send the first business control to the business server corresponding to the first application, for example Figure 1In the example of the business server 102a, the business server 102a sends the first business control to the first subprogram of the terminal device 101a, so the terminal device 101a can display the first business control in the first subprogram of the second application. The business platform corresponding to the first application is the same as the business platform corresponding to the first subprogram; the first application includes but is not limited to a subprogram provided by a business platform, namely the first subprogram.
[0092] Optionally, the business server 100 may send the first business control to the first subprogram of the terminal device 101a in a P2P manner, so the terminal device 101a may display the first business control in the first subprogram of the second application. Optionally, the business server 100 may send an operation success message to the terminal device 101a indicating that the first business operation meets the control display condition, so the terminal device 101a may display the first business control stored locally in the first subprogram of the second application. It is understandable that the first business control stored in the terminal device 101a is provided by the business server 100.
[0093] Another feasible implementation is as follows: the business object performs a first business operation in a first application installed in the terminal device 101a, and the business server corresponding to the first application, for example Figure 1 The business server 102a shown in the example can judge the first business operation, that is, whether the first business operation meets the control display condition. If the first business operation meets the control display condition, the business server 102a can send the first business control to the first subprogram of the terminal device 101a, so the terminal device 101a can display the first business control in the first subprogram of the second application. It should be emphasized that the first business control is provided to the above-mentioned business server 102a by the business server corresponding to the second application. Optionally, the business server 102a can send an operation success message to the terminal device 101a indicating that the first business operation meets the control display condition, so the terminal device 101a can display the first business control stored locally in the first subprogram of the second application. It can be understood that the first business control stored in the terminal device 101a is provided by the business server 100.
[0094] Another feasible implementation is as follows: the business object performs a first business operation in the first application installed in the terminal device 101a, and the terminal device 101a locally determines the first business operation, that is, determines whether the first business operation meets the control display condition. If the first business operation meets the control display condition, the terminal device 101a displays the first business control in the first subroutine in the second application. It can be understood that the first business control stored in the terminal device 101a is provided by the business server 100.
[0095] It is understandable that the embodiment of the present application does not limit the second application, and therefore does not limit the business function provided by the second application, and therefore does not limit the first business operation implemented by the business function, and further does not limit the first business control. For example, the second application is a transaction application, the first application and the first subroutine are a convenient life application, the business function provided by the second application to the first application may be a transaction payment function, the above-mentioned first business operation may be a transaction payment operation, and the first business control may be a transaction evaluation control. For another example, the second application is a transaction application, the first application and the first subroutine are a game application, and the business function provided by the second application to the first application may be an account login function, that is, the application account in the second application is logged in to the first application through the business object, the above-mentioned first business operation may be an account login operation, and the first business control may be an account status query control.
[0096] Further, the terminal device 101a can display the first business message in the first business control; the first business message is provided by the second application, and the first business message is associated with the first business operation. Similarly, the embodiment of the present application does not limit the second application, so the first business message provided by the second application is not limited. For example, the second application is a trading application, the first application and the first subroutine are a convenient life application, and the first business message provided by the second application can be a transaction evaluation prompt message. For another example, the second application is a trading application, the first application and the first subroutine are a game application, and the first business message provided by the second application can be an account login abnormality prompt message.
[0097] In an embodiment of the present application, if the first business operation performed by the business object in the first application satisfies the control display condition, the terminal device can display the first business control in the first subroutine of the second application, and the first business operation is realized by the business function provided by the second application; the first business control is provided by the second application; the business platform corresponding to the first application is the same as the business platform corresponding to the first subroutine; further, the terminal device can display the first business message in the first business control; the first business message is provided by the second application, and the first business message is associated with the first business operation. As can be seen from the above, an embodiment of the present application provides a non-fixed first business control, which is provided by the second application to the first subroutine of the second application, and through the first business control, the second application can send the first business message, so the use of this application can not only improve the display effect of the first subroutine, but also improve the display efficiency of the first business message.
[0098] It should be noted that the above-mentioned business server 100, terminal device 101a, terminal device 101b, terminal device 101n, business server 102a, business server 102b, business server 102n can all be blockchain nodes in the blockchain network, and the data described in the full text (such as business prompt messages and second business messages) can be stored. The storage method can be that the blockchain node generates blocks according to the data and adds the blocks to the blockchain for storage.
[0099] Blockchain is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism and encryption algorithm. It is mainly used to organize data in chronological order and encrypt it into a ledger to make it impossible to be tampered with or forged. At the same time, it can verify, store and update data. Blockchain is essentially a decentralized database. Each node in the database stores the same blockchain. The blockchain network can divide nodes into core nodes, data nodes and light nodes. Core nodes, data nodes and light nodes together constitute blockchain nodes. Among them, the core node is responsible for the consensus of the entire blockchain network, that is, the core node is the consensus node in the blockchain network. The process of writing transaction data in the blockchain network into the ledger can be that the data node or light node in the blockchain network obtains the transaction data, and transmits the transaction data in the blockchain network (that is, the node transmits it in the form of a baton) until the consensus node receives the transaction data, and the consensus node then packs the transaction data into a block, executes consensus on the block, and writes the transaction data into the ledger after the consensus is completed. Here, the transaction data are exemplified by the business prompt message and the second business message. After reaching a consensus on the transaction data, the business server 100 (blockchain node) generates a block based on the transaction data and stores the block in the blockchain network. As for the reading of the transaction data (i.e., the business prompt message and the second business message), the blockchain node can obtain the block containing the transaction data in the blockchain network, and further obtain the transaction data in the block.
[0100] It is understandable that the method provided in the embodiments of the present application can be executed by a computer device, which includes but is not limited to a terminal device or a business server. Among them, the business server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud databases, cloud services, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. Terminal devices include but are not limited to mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle-mounted terminals, aircraft, etc. Among them, the terminal device and the business server can be directly or indirectly connected by wire or wireless means, and the embodiments of the present application are not limited here.
[0101] For further information, see Figure 2 , Figure 2 This is a data processing scenario provided by an embodiment of the present application. Figure 1 . The embodiments of the present application can be applied to various scenarios, including but not limited to cloud technology, artificial intelligence, smart transportation, assisted driving, etc. The embodiments of the present application do not limit specific business scenarios. Among them, the implementation process of the data processing scenario can be carried out in a business server, or in a terminal device, or interactively in a terminal device and a business server, which is not limited here. For the sake of ease of description and understanding, the embodiments of the present application are described in a terminal device as an example, wherein the terminal device can be the above-mentioned Figure 1 Any terminal device in the terminal device cluster of the corresponding embodiment.
[0102] If the business object starts the first subprogram in the second application installed on the terminal device, the terminal device can display the first subprogram in the second application. The embodiment of the present application does not limit the business platform to which the first subprogram belongs, so it does not limit the specific page of the first subprogram displayed on the terminal device. The first subprogram is an embedded subclient, such as a small program. Figure 2 As shown, for ease of understanding and description, the present application embodiment uses a member activation page as an example. In the member activation page 20a, the terminal device can display the application avatar and application account 20b logged in by the business object in the first subprogram, Figure 2 The example application account 20b is 111****2222. In addition, the member activation page 20a may further include a close control 20c and a member activation control 20d.
[0103] The close control 20c is a functional control provided by the second application and having fixed attributes, that is, as long as the business object starts the first subprogram in the second application, the page displayed by the terminal device for the first subprogram will include the close control 20c, that is, the page provided by the first subprogram will include the close control 20c, for example Figure 2 The illustrated member activation page 20a, member activation page 20e and business page 20f all include a close control 20c. It is understandable that Figure 2The close control 20c provided by the second application and having fixed attributes is proposed to highlight the first business control proposed in this application. In addition, in actual application scenarios, the second application can provide one or more functional controls with fixed attributes for the first subprogram. The embodiment of this application is described using the fixed control 20c as an example. Furthermore, if the business object triggers the close control 20c, the terminal device responds to the triggering operation for the close control 20c and closes the first subprogram in the second application, that is, the terminal device exits displaying the first subprogram. It can be understood that the functions of the fixed controls in any page of the first subprogram are the same, which is to close the first subprogram in the second application.
[0104] The embodiment of the present application does not limit the application scenarios corresponding to the second application and the first application (including the first subprogram), so it does not limit the service functions provided by the second application to the first application, and further does not limit the first service operation. Figure 2 The following description is based on the example that the business function provided by the second application to the first application is the transaction payment function, and the first business operation is the membership activation operation. Figure 2 If the business object triggers the membership activation control 20d in the membership activation page 20a, the terminal device responds to the triggering operation of the membership activation control 20d and displays the membership activation page 20e. The member activation page 20e may include three candidate membership types, which are continuous monthly package, continuous annual package and continuous quarterly package. The fee for the continuous monthly package is 8 digital resources, the fee for the continuous annual package is 80 digital resources, and the fee for the continuous quarterly package is 22 digital resources.
[0105] As shown in the member activation page 20e, the first subprogram provides two payment methods, namely payment method 1 and payment method 2. Payment method 1 is set to be provided by business platform 1 (for example, a banking institution), and payment method 2 is provided by business platform 2, and business platform 2 is the business platform corresponding to the second application, that is, the second application can provide transaction payment function for the first subprogram.
[0106] Please see again Figure 2If the business object selects a continuous monthly subscription and selects payment method 2, the terminal device can respond to the selection operation for the continuous monthly subscription and the selection operation for payment method 2. In the scenario where the business object triggers the confirmation control 20g in the member activation page 20e, the terminal device can respond to the triggering operation for the confirmation control 20g, call the second application, and perform a payment operation on the transaction for the continuous monthly subscription initiated in the first subprogram in the second application. When the transaction payment is successful, the terminal device can display the business page 20f in the first subprogram, and the business page 20f shows that the application account 111****2222 has activated the membership. In addition, in the business page 20f, the terminal device can display the first business control 20h.
[0107] From the above, we can see that Figure 2 The first business operation is taken as an example of a transaction payment operation, and its specific operations may include membership activation operation, membership selection operation, payment method operation, etc. Therefore, if the first business operation performed by the business object in the first application meets the control display condition, the terminal device can display the first business control 20h in the first subroutine of the second application. The first business control 20h is provided by the second application, but the device that issues the first business control 20h can be the terminal device or the business server corresponding to the second application. For example, Figure 1 The example service server 100 may also be a service server corresponding to the first application, such as the above Figure 1 The example business server 102a and the issuing device of the first business control 20h can be set according to the actual application scenario. Among them, the first application in the embodiment of the present application refers to a client with no limitation on the application form, including but not limited to a sub-client (i.e., the first sub-program), an independent sub-client, a web client, etc. It can be understood that Figure 2 The description is made by taking the example of a business object performing a first business operation in a first subprogram. In actual application, if the business object performs a first business operation in an independent application client or in a web client, and the first business operation meets the control display condition, the terminal device can still display the first business control 20h in the first subprogram of the second application.
[0108] Please see again Figure 2, the terminal device can display the first business message in the first business control 20h. The first business message in the example of the embodiment of the present application is that you have a transaction to evaluate. Similarly, the first business message is provided by the second application, and the first business message is associated with the first business operation. It can be understood that the first business message has a prompt function. Although the first business control 20h and the close control 20c are both provided by the second application, unlike the close control 20c with fixed attributes in the example of the embodiment of the present application, the first business control 20h has a dynamic attribute, that is, the first business control 20h is not fixedly displayed. It requires the first business operation of the business object in the first application to meet the control display condition before it will be displayed in the first subroutine. The embodiment of the present application does not limit the page in the first subroutine where the first business control 20h is displayed, and can be set according to the actual application scenario.
[0109] It is understandable that, since the first service control 20h has dynamic properties, it has a total display time threshold. For example, if the second application sets the total display time threshold of each display of the first service control 20h to 5 seconds, then when the first service control 20h starts to be displayed, if the business object does not trigger the first service control 20h within 5 seconds, the terminal device will cancel the display of the first service control 20h after 5 seconds. For a first service operation, for example Figure 2 In the example of the transaction payment operation, the second application can set the display times of the first business control 20h to one or more times. If the display times are once, after the terminal device displays the first business control 20h once, regardless of whether the business object triggers the first business control 20h, the terminal device will not display the first business control 20h again.
[0110] If the display times are multiple times, for example, 2 times, when the terminal device displays the first service control 20h for the first time, if the service object triggers the first service control 20h within 5 seconds, the terminal device can display the service page provided by the second application, for example Figure 2 In the example business page 20i, if the business object triggers the return control in the business page provided by the second application, the terminal device can return from the business page provided by the second application to the business page provided by the first subprogram, for example Figure 2 In the example of the service page 20f, the service page provided by the first subprogram cancels the display of the first service control 20h. Because the terminal device has responded to the trigger operation for the first service control 20h, the terminal device does not display the first service control 20h twice even though the display times are 2.
[0111] Another scenario is when the terminal device displays the first business control 20h for the first time, if the business object does not trigger the first business control 20h within 5 seconds, then after 5 seconds, the terminal device will cancel the display of the first business control 20h. Since the terminal device does not respond to the trigger operation for the first business control 20h, and the display count is 2 times, at this time, the first business control 20h is still displayed once, so the terminal device can display the first business control 20h for the second time, and the logic of the terminal device displaying the first business control 20h for the second time is the same as the logic of the terminal device displaying the first business control 20h for the first time, so it will not be repeated. Please refer to the above description.
[0112] It is understandable that if the first business control 20h is displayed three times or more, the logic of the terminal device displaying the first business control 20h is the same as the display logic of the terminal device displaying the first business control 20h when the display number is two, so it is not repeated in this embodiment of the application.
[0113] In addition, in the scenario where the display times are multiple times, the embodiment of the present application does not limit the display interval of the first business control 20h displayed by the terminal device in the first subprogram, and can be set according to the actual application scenario, but the program state of the first subprogram is the startup state, that is, only when the business object starts the first subprogram in the second application, the terminal device can display the first business control 20h in the first subprogram. For example, when the first business operation meets the control display condition, the business object starts the first subprogram in the second application, then the terminal device can display the first business control 20h in the first subprogram in real time, and if the business object does not trigger the first business control 20h within the total display time threshold, the terminal device cancels the display of the first business control 20h. Further, if the duration of canceling the display of the first business control 20h reaches the display interval duration set by the second application, and the first subprogram is in the startup state, the terminal device can display the first business control 20h twice, and the subsequent display logic of the first business control 20h is the same as described above, so it is not repeated. If the duration of canceling the display of the first business control 20h reaches the display interval duration set by the second application, and the first subprogram is in an unstarted state, when the business object starts the first subprogram in the second application again, the terminal device displays the first business control 20h for the second time. The premise for the terminal device to display the first business control 20h twice or multiple times as described above is that the first business control 20h is not triggered by the business object, that is, the terminal device does not respond to the triggering operation on the first business control 20h.
[0114] Please see again Figure 2 The terminal device responds to the trigger operation on the first business control 20h and displays the business page 20i provided by the second application. The example business page 20i of the embodiment of the present application is a transaction evaluation page, that is, Figure 2 The first business operation in the example is associated with a transaction payment operation. Figure 2 The example of a member opening a transaction and performing a transaction evaluation operation, that is, the embodiment of the present application exemplifies the second business operation as a transaction evaluation operation.
[0115] The business page 20i may include detailed data of the member opening a transaction, and the detailed data may include the member's object (e.g. Figure 2 ), including the membership type (e.g. Figure 2 Monthly membership in ), and membership fees (e.g. Figure 2 8 digital resources in the business page 20i). The business page 20i may include an evaluation method. The present application embodiment uses star rating and text evaluation as examples. The business object may enter evaluation information in the business page 20i, and the terminal device responds to the input operation on the business page 20i and obtains the input information. Please refer to Figure 3 , Figure 3 This is a data processing scenario provided by an embodiment of the present application. Figure 2 .like Figure 3 As shown, the business object selects five-star praise and enters the evaluation text 20j in the text box, that is, Figure 3 "The discount is quite big, very satisfied".
[0116] Furthermore, the business object triggers the publishing control 20m, and the terminal device responds to the triggering operation on the publishing control 20m in the second application and sends the information input by the business object (for example Figure 3 The five-star praise and evaluation text 20j) are determined as the second business message. The second application can send the second business message to the first application, and the business object can view his own evaluation of the member's transaction opening in the first application (including the first subroutine in the second application).
[0117] Please see again Figure 3 If the second business message is successfully published through the second application, the terminal device can display the business page 20n, and the business page 20n can display a prompt message for prompting that the second business message is successfully published, such as the "Publication Completed" example shown in the business page 20n. It can be understood that the business page 20i and the business page 20n are both provided by the second application, so the business page 20i and the business page 20n do not include the first business control. Further, if the business object triggers the return control 20p in the business page 20n, the terminal device responds to the trigger operation on the return control 20p and returns from the business page 20n provided by the second application to the first subroutine, such as Figure 3 In the business page 20q shown in the example, the first business control is canceled from being displayed on the business page 20q. Figure 2Business page 20f and Figure 3 Compared with the business page 20q in FIG. 20 , the difference between the two is that the business page 20q cancels the display of the first business control 20h because the business object triggers the first business control 20h in the business page 20f.
[0118] Understandably, Figure 2 The interfaces and controls shown are only some forms of expression for reference. In actual business scenarios, developers can make relevant designs according to product requirements. The embodiments of the present application do not limit the specific forms of the interfaces and controls involved.
[0119] In an embodiment of the present application, if the first business operation performed by the business object in the first application satisfies the control display condition, the terminal device can display the first business control in the first subroutine of the second application, and the first business operation is realized by the business function provided by the second application; the first business control is provided by the second application; the business platform corresponding to the first application is the same as the business platform corresponding to the first subroutine; further, the terminal device can display the first business message in the first business control; the first business message is provided by the second application, and the first business message is associated with the first business operation. As can be seen from the above, an embodiment of the present application provides a non-fixed first business control, which is provided by the second application to the first subroutine of the second application, and through the first business control, the second application can send the first business message, so the use of this application can not only improve the display effect of the first subroutine, but also improve the display efficiency of the first business message.
[0120] For further information, see Figure 4 , Figure 4 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 1 The data processing method may be implemented by a business server (for example, Figure 1 The service server 100 shown in the figure may also be executed by a terminal device (for example, the above Figure 1 The terminal device 101a) shown in the figure can also be executed by the service server and the terminal device interactively. For ease of understanding, the embodiment of the present application takes the method executed by the terminal device as an example for explanation. Figure 4 As shown, the data processing method may at least include the following steps S101-S102.
[0121] Step S101, if the first business operation performed by the business object in the first application meets the control display condition, the first business control is displayed in the first subroutine of the second application; the first business operation is implemented by the business function provided by the second application; the first business control is provided by the second application; the business platform corresponding to the first application is the same as the business platform corresponding to the first subroutine.
[0122] Specifically, in response to a first business operation performed by a business object in a first application, if the first business operation satisfies a control display condition, then at a first moment, a first business control is displayed in a first subprogram in a second application.
[0123] Specifically, respond to a first business operation performed by a business object in a first application; if the first business operation meets a control display condition, then at a third moment, display a first business control in a current page of a first subprogram; the first subprogram is a subprogram in a second application.
[0124] The present application embodiment does not limit the application scenarios corresponding to the first application and the second application, and therefore does not limit the content of the first business operation, which can be set according to the actual application scenario. Figure 5 , Figure 5 This is a data processing scenario provided by an embodiment of the present application. Figure 3 For the meaning of the business page 20f displayed by the terminal device in the first subprogram of the second application and the relationship between the previous and the next display, please refer to the above Figure 2 The description in the corresponding embodiment will not be repeated here.
[0125] It is assumed that the terminal device displays the business page 20f at 12:01:01 on June 23, 2023, and the total display time threshold of the first business control 20h is set to 5 seconds. If the business object does not trigger the first business control 20h during the period from 12:01:01 on June 23, 2023 to 12:01:05 on June 23, 2023, then at the next moment of 12:01:05 on June 23, 2023, the terminal device cancels the display of the first business control 20h. Figure 5 The business page 40a is shown in the example.
[0126] For further information, please see Figure 6 , Figure 6 This is a data processing scenario provided by an embodiment of the present application. Figure 4 The terminal device displays the business page 40b at 12:01:01 on June 23, 2023. For the meaning of the business page 40b and the relationship between the previous and subsequent displays, please refer to the above. Figure 2 The description in the corresponding embodiment will not be repeated here. Figure 6 The illustrated business page 40b may include a cancel auto-renewal control 40i, combined with Figure 2It can be seen that the membership opened by the business object for the first application (including the first subprogram in the second application) is a continuous monthly subscription type. In the embodiment of the present application, any subprogram is an embedded subclient, such as a mini program.
[0127] Set the first and third moments to Figure 6 The example is 12:01:01 on June 23, 2023.
[0128] Understandably, Figure 5 as well as Figure 6 The interfaces and controls shown are only some forms of expression for reference. In actual business scenarios, developers can make relevant designs according to product requirements. The embodiments of the present application do not limit the specific forms of the interfaces and controls involved.
[0129] Step S102: display a first business message in a first business control; the first business message is provided by a second application, and the first business message is associated with a first business operation.
[0130] Specifically, the continuous display time of the first service control is counted, and if the continuous display time is equal to the total display time threshold, the first service control is cancelled.
[0131] Specifically, a third business operation performed by a business object in a first application at a second moment is responded to; if the third business operation meets the control display condition, the time difference between the second moment and the first moment is determined; the third business operation is implemented by a business function provided by the second application; if the time difference is less than the total display time threshold, the first business control is continuously displayed in the first subprogram; if the time difference is equal to the total display time threshold, the first business control is updated and displayed as a second business control in the first subprogram, and a third business message is displayed in the second business control; the second business control is provided by the second application; the third business message is provided by the second application, and the third business message is associated with the third business operation; if the time difference is greater than the total time threshold, the second business control is displayed in the first subprogram.
[0132] Specifically, in response to a page update operation on the current page at a fourth moment, the current page is updated and displayed as the current update page; the fourth moment is later than the third moment; if the time difference between the fourth moment and the third moment is less than the total display time threshold, the first business control remains displayed in the current update page.
[0133] The first business operation and the third business operation may be the same. For example, the first business operation is a transaction payment operation, and the third business operation is also a transaction payment operation. However, the transaction payment event targeted by the first business operation is different from the transaction payment event targeted by the third business operation. For example Figure 2In the example, the first business operation is that the business object opens a membership of the first application, and the third business operation can be a transaction payment operation of another event in the first application. Optionally, the first business operation and the third business operation can be different, for example, the first business operation is a transaction payment operation, and the third business operation is an account login operation. Please refer to Figure 6 , Figure 6 The exemplary third business operation is an account login operation, that is, an operation of a business object logging into an application account in the first application (including the first subprogram). In this case, the first business operation is different from the third business operation.
[0134] The embodiment of the present application is described by taking the first application as the first subprogram as an example. At a first moment, the terminal device displays the first service control 40c in the first subprogram of the second application. Figure 6 Take 12:01:01 on June 23, 2023 as an example for the first time. Set the total display time threshold (adjustable) of the first service control 40c to 5 seconds. If the service object does not trigger the first service control 40c at 12:01:03 on June 23, 2023, the terminal device keeps displaying the first service control 40c. Figure 6 As shown in the business page 40d.
[0135] The embodiment of the present application does not limit the time sequence between the second moment and the first moment. In actual application, the first moment may be earlier than the second moment, the first moment may be equal to the second moment, or the first moment may be later than the second moment.
[0136] Since the terminal device has displayed the first service control 40c in the service page 40b of the first subprogram, if the third service operation meets the control display condition, it is necessary to display the second service control after canceling the display of the first service operation 40c, such as Figure 6 As shown, if the business object has not triggered the first business control 40c from 12:01:01 on June 23, 2023 to 12:01:05 on June 23, 2023, the terminal device will continue to display the first business control 40c in the first subroutine until 12:01:06 on June 23, 2023, when the terminal device updates the first business control 40c to the second business control 40e in the first subroutine, as shown in FIG. Figure 6As shown in the business page 40f in the example of the present application, the third business message in the second business control 40e is exemplified as "You have a game gift package to receive". It can be understood that the display position of the first business control 40c and the display position of the second business control 40e are the same. As can be seen from the above, the second application in the embodiment of the present application can not only provide a business control with dynamic attributes for the first subroutine, but also provide business controls with different business functions, for example, the first business control is a transaction evaluation control, and the second business control is a game gift package collection control.
[0137] Please see again Figure 6 , the embodiment of the present application sets the third time as 12:01:01 on June 23, 2023 in the business page 40b. Figure 6 As shown, the business object triggers the cancel automatic renewal control 40i in the business page 40b, and the terminal device at the fourth moment ( Figure 6 Taking 12:01:02 on June 23, 2023 as an example, in response to the page update operation for the current page (ie, business page 40b), the current page is updated and displayed as the current update page, that is, Figure 6 The total display time threshold of the first business control 40c is set to 5 seconds. Figure 6 Take 12:01:02 on June 23, 2023 as an example) and the third moment ( Figure 6 Taking 12:01:01 on June 23, 2023 as an example), the time difference between the two is 1 second, so the terminal device keeps displaying the first service control 40c in the first subroutine. It can be understood that the specific content of each service page should be set according to the actual application scenario, and the embodiment of the present application does not limit it. Figure 6 The business page 40g includes a message prompting the business object whether to confirm the cancellation of automatic renewal, and a "yes" option and a "no" option for answering the above question.
[0138] It can be understood that if the time difference between the fourth moment and the third moment is equal to or greater than the total display time threshold, the terminal device displays the business page 40h in the first subroutine. At this time, the fourth moment of the example is 12:01:07 on June 23, 2023, that is, the time difference between the fourth moment and the third moment is 6 seconds. Therefore, although the terminal device updates the current page, it also cancels the display of the first business control 40c. As can be seen from the above, the first business control provided in the embodiment of the present application can be displayed in different business pages within the total display time threshold, so the display effect of the first business control can be improved, and then the business object can be better prompted to perform the second business operation.
[0139] In an embodiment of the present application, if the first business operation performed by the business object in the first application satisfies the control display condition, the terminal device can display the first business control in the first subroutine of the second application, and the first business operation is realized by the business function provided by the second application; the first business control is provided by the second application; the business platform corresponding to the first application is the same as the business platform corresponding to the first subroutine; further, the terminal device can display the first business message in the first business control; the first business message is provided by the second application, and the first business message is associated with the first business operation. As can be seen from the above, an embodiment of the present application provides a non-fixed first business control, which is provided by the second application to the first subroutine of the second application, and through the first business control, the second application can send the first business message, so the use of this application can not only improve the display effect of the first subroutine, but also improve the display efficiency of the first business message.
[0140] For further information, see Figure 7 , Figure 7 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 2 The method may be performed by a business server (eg, Figure 1 The service server 100 shown in the figure may also be executed by a terminal device (for example, the above Figure 1 The terminal device 101a) shown in the figure can also be executed by the service server and the terminal device interactively. For ease of understanding, the embodiment of the present application takes the method executed by the terminal device as an example for explanation. Figure 7 As shown, the method may at least include the following steps S201-S203.
[0141] Step S201, if the first business operation performed by the business object in the first application meets the control display condition, the first business control is displayed in the first subroutine in the second application; the first business operation is implemented by the business function provided by the second application; the first business control is provided by the second application; the business platform corresponding to the first application is the same as the business platform corresponding to the first subroutine.
[0142] Specifically, the first brightness mode of the second application is determined, and the first service control is displayed in the first subprogram in the first brightness mode.
[0143] In order to improve the display effect of the page and meet the visual effects of the business object in different scenes, the first business control can be displayed in different brightness modes. For example, the business object starts the first subroutine in a scene with light. At this time, the terminal device is in light mode (light mode, abbreviated as lm), which can also be called day mode, so the second application and the first subroutine are both in day mode, so the first business control is displayed in day mode. For example, the business object starts the first subroutine in a scene without light. At this time, the terminal device is in dark mode (dark mode, abbreviated as dm), which can also be called night mode. Therefore, the second application and the first subroutine are both in night mode, so the first business control is displayed in night mode. It can be seen from the above that the brightness mode of the first business control is the same as the brightness mode of the first subroutine and the second application, and the first brightness mode includes the above-mentioned day mode or night mode.
[0144] Please also see Figure 8 , Figure 8 This is a data processing scenario provided by an embodiment of the present application. Figure 5 .like Figure 8 As shown, the terminal device displays the service page 70z in the daytime mode in the first subprogram of the second application, and displays the first service control 70y in the daytime mode.
[0145] Please also see Fig. 9 , Fig. 9 This is a data processing scenario provided by an embodiment of the present application. Figure 6 .like Fig. 9 As shown, the terminal device displays the service page 70g in the first subprogram of the second application in the night mode, and displays the first service control 70h in the night mode.
[0146] Step S202: display a first business message in a first business control; the first business message is provided by a second application, and the first business message is associated with a first business operation.
[0147] Specifically, in the first service control, the first service message is displayed in a second brightness mode; the second brightness mode is different from the first brightness mode.
[0148] Among them, the specific process of displaying the first business message in the second brightness mode may include: continuously displaying the first business message with the first visual parameter; the first visual parameter belongs to the visual parameter under the first brightness mode; counting the first display time of continuously displaying the first business message with the first visual parameter; when the first display time is greater than the first display time threshold, starting from the first visual parameter, performing visual parameter change processing on the first business message; dynamically displaying the first business message with the changed visual parameter until the changed visual parameter reaches the second visual parameter, and then stopping the visual parameter change processing; the second visual parameter belongs to the visual parameter under the second brightness mode.
[0149] Among them, the specific process of displaying the first business message in the second brightness mode may also include: when the changed visual parameter reaches the second visual parameter, continuously displaying the first business message with the second visual parameter; counting the second display time of continuously displaying the first business message with the second visual parameter; when the second display time is greater than the second display time threshold, starting from the second visual parameter, performing a visual parameter reverse change processing on the first business message; dynamically displaying the first business message with the reversely changed visual parameter until the reversely changed visual parameter reaches the first visual parameter, then stopping the visual parameter reverse change processing; the second display time threshold is greater than the first display time threshold; when the reversely changed visual parameter reaches the first visual parameter, continuously displaying the first business message with the first visual parameter; counting the third display time of continuously displaying the first business message with the first visual parameter; when the third display time is greater than the third display time threshold, canceling the display of the first business message; the third display time threshold is less than the first display time threshold.
[0150] In order to improve the display effect of the page and meet the visual effects of the business object in different scenarios, the brightness mode corresponding to the first business message is different from the brightness mode corresponding to the first business control. As stated above, the first brightness mode can be a day mode, and the second brightness mode different from the first brightness mode is a night mode; the first brightness mode can be a night mode, and the second brightness mode different from the first brightness mode is a day mode.
[0151] Please see again Figure 8 , Figure 8 In the example, the first brightness mode is the day mode, and the second brightness mode is the night mode. The terminal device starts to display the first service message with the first visual parameter in the service page 70z of the first subprogram of the second application, for example Figure 8 In the example of the first business control 70y, "You have a transaction to evaluate". It can be understood that the first business message is displayed gradually from transparent to opaque in the first brightness mode (here, the day mode) of the business page 70z, so the first visual parameter belongs to the visual parameter in the first brightness mode. Figure 8The first brightness mode of the example is the daytime mode, so the first visual parameter here belongs to the visual parameter in the daytime mode, that is, the first service message is gradually displayed from the white visual parameter to the black visual parameter.
[0152] like Figure 8 As shown, the terminal device starts to display the first service message with the first visual parameter (such as the white transparency parameter), and then keeps displaying the first service message with the first visual parameter until the duration of displaying the first service message with the first visual parameter reaches the first display duration threshold (such as Figure 8 0.3s in the second application, the second application can adjust the threshold), starting from the first visual parameter (such as white transparent parameter), the first service message is processed by visual parameter change, that is, slowly changing from white transparent to black opaque, such as Figure 8 As shown in the business page 70a in FIG. 1 , the visual parameters of the first business message in the first business control 70b are different from the visual parameters of the first business message in the first business control 70y, and the transparency of the first business message in the first business control 70b is lower than the transparency of the first business message in the first business control 70y. Further, when the first business control is displayed for 1 second, the first business message is displayed with the second visual parameters, such as Figure 8 As shown in the business page 70c in FIG. 7 , the first business message in the first business control 70d is in a non-transparent state.
[0153] The terminal device continues to display the first service message with the second visual parameter (for example, black non-transparent parameter) until the total display time of the first service message reaches 4.7 seconds. The terminal device then starts to perform a reverse change process on the visual parameter of the first service message with the second visual parameter, and dynamically displays the first service message with the reversely changed visual parameter. Figure 8 As shown in the business page 70e in the first business control 70f, the visual parameters of the first business message in the first business control 70d are different from the visual parameters of the first business message in the first business control 70f, and the transparency of the first business message in the first business control 70f is higher than the transparency of the first business message in the first business control 70d. When the visual parameter after the reverse change reaches the first visual parameter, the first business message is continuously displayed with the first visual parameter; the third display time of continuously displaying the first business message with the first visual parameter is counted; when the third display time is greater than the third display time threshold, the first business message is canceled.
[0154] Optionally, when the first display duration is greater than the first display duration threshold, such as Figure 8 In the example of 0.3 seconds, the terminal device can directly adjust the first visual parameter to the second visual parameter, that is, directly display the first service message with the second visual parameter.
[0155] Figure 8The description is carried out by taking the first brightness mode as the day mode and the second brightness mode as the night mode as an example. Fig. 9 and Figure 8 The principle is the same, the difference is Fig. 9 This example takes the first brightness mode as night mode and the second brightness mode as day mode, so it is incorrect here. Fig. 9 For a detailed description, please refer to the above description.
[0156] Step S203, if the business object performs the first business operation in the third application, the first business control is displayed in the second subprogram in the second application; the business platform corresponding to the third application is the same as the business platform corresponding to the second subprogram, and the business platform corresponding to the third application is different from the business platform corresponding to the first application.
[0157] Specifically, the second application can be embedded with subprograms corresponding to multiple different business platforms, and the multiple subprograms can include a first subprogram and a second subprogram. For example, the first application (including the first subprogram) is a convenient life application, the third application (including the second subprogram) is a video application, and the second application is a transaction application. The second application of the embodiment of the present application can not only provide a transaction payment function for the first application, but also provide a transaction payment function for the third application. Therefore, the embodiment of the present application can not only provide a transaction payment function for the first subprogram, but also provide a transaction payment function for the second subprogram.
[0158] It is understandable that the process of the business object performing the first business operation in the third application is similar to the process of the business object performing the first business operation in the first application, so please refer to the above Figure 2 The description in the corresponding embodiment will not be repeated here. Figure 5 , if the business object performs the first business operation in the third application, then when the business object starts the second subprogram in the second application, the terminal device can display the business page 70x in the second subprogram, and the business page 70x can display the first business control 70w, wherein the function of the first business control 70w is the same as the function of the first business control 20h in the business page 20f, and the difference between the two is that they target different transaction events. As can be seen from the above, the first business control provided by the second application in the embodiment of the present application can be embedded in the subprograms corresponding to different business platforms, that is, the business object can perform the same business operation in different applications, so that the same business control can be displayed in different subprograms. Therefore, the first business control provided by the embodiment of the present application can avoid different business platforms from developing their own business controls, thereby improving the business function efficiency of each business platform.
[0159] In an embodiment of the present application, if the first business operation performed by the business object in the first application satisfies the control display condition, the terminal device can display the first business control in the first subroutine of the second application, and the first business operation is realized by the business function provided by the second application; the first business control is provided by the second application; the business platform corresponding to the first application is the same as the business platform corresponding to the first subroutine; further, the terminal device can display the first business message in the first business control; the first business message is provided by the second application, and the first business message is associated with the first business operation. As can be seen from the above, an embodiment of the present application provides a non-fixed first business control, which is provided by the second application to the first subroutine of the second application, and through the first business control, the second application can send the first business message, so the use of this application can not only improve the display effect of the first subroutine, but also improve the display efficiency of the first business message.
[0160] For further information, see Fig.10 , Fig.10 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 3 The method may be performed by a business server (eg, Figure 1 The service server 100 shown in the figure may also be executed by a terminal device (for example, the above Figure 1 The terminal device 101a) shown in the figure can also be executed by the service server and the terminal device interactively. For ease of understanding, the embodiment of the present application takes the method executed by the terminal device as an example for explanation. Fig.10 As shown, the method may at least include the following steps S301-S306.
[0161] Step S301, in response to a first business operation performed by a business object in a first application, a business prompt message corresponding to the first business operation is obtained through a second application; the business platform corresponding to the second application is different from the business platform corresponding to the first application.
[0162] Specifically, the first business operation is implemented through the business function provided by the second application; the first business control is provided by the second application; and the business platform corresponding to the first application is the same as the business platform corresponding to the first subprogram.
[0163] The terminal device may be installed with a second application, which refers to an independent application client that can be embedded with a subprogram. Therefore, the second application may include one or more subprograms, and the one or more subprograms include the first subprogram.
[0164] The first application includes a first subprogram, and the first application may also include an independent application client or a web application client. The embodiment of the present application does not limit the application form of the first application, and may be set according to the actual application scenario. Any subprogram of the present application is an embedded subclient, such as a small program.
[0165] It can be understood that the business functions provided by the second application can be embedded in the first application. For example, the first application is a convenient life application, and the second application is a transaction application. The second application can provide transaction payment functions for the first application. Therefore, the business object can perform transaction payment operations in the first application through the transaction payment function provided by the second application. When the transaction payment operation is completed, the second application can obtain the business prompt message corresponding to the transaction payment operation, such as the transaction payment prompt message, which can be sent to the first application through the second application.
[0166] Step S302, determine the program status of the first subprogram in the second application. If the program status of the first subprogram is not started, store the business prompt message in the cache database corresponding to the second application; the business prompt message stored in the cache database is used to be passed to the platform basic library corresponding to the second application when the program status of the first subprogram is updated from an unstarted state to a started state.
[0167] Specifically, if the terminal device obtains the service prompt message through the second application, the service prompt message can be displayed in the second application.
[0168] In addition, the terminal device may not store the service prompt message. In this case, the service server corresponding to the second application, for example Figure 1 The business server 100 in the example may first execute step S304 described below to determine the first business message, and then the business server sends the first business message to the terminal device. When the terminal device obtains the first business message, it determines the program state of the first subprogram. If the program state of the first subprogram is not started, the terminal device stores the first business message in a cache database corresponding to the second application. The first business message stored in the cache database is used to be transmitted to the platform basic library corresponding to the second application when the program state of the first subprogram is updated from the unstarted state to the started state.
[0169] Step S303: If the program state of the first subprogram is the startup state, the business prompt message is stored in the platform basic library.
[0170] Specifically, obtain the program index of the first subroutine, obtain the message index table associated with the program index in the platform basic library; obtain the message identifier of the business prompt message, if there is no historical business prompt message with an index relationship with the message identifier in the message index table, then store the message identifier and the business prompt message in the message index table; if there is a historical business prompt message with an index relationship with the message identifier in the message index table, then update the historical business prompt message in the message index table to the business prompt message.
[0171] Among them, the specific process of displaying the first business control in the first subprogram may include: in the platform operation strategy, obtaining the display method associated with the business prompt message and the display condition associated with the business prompt message; when the first business control meets the display condition, in the first subprogram, displaying the first business control in the display method.
[0172] In an embodiment of the present application, for different business operations (which can be understood as different business functions), the platform basic library is used to store current business prompt messages, that is, for a certain business function, if there is a new business prompt message, the platform basic library will delete the old business prompt message and then store the new business prompt message.
[0173] According to the description of step S302, the terminal device may not store the business prompt message in the platform basic library. At this time, the terminal device stores the first business message sent by the business server in the platform basic library. It can be understood that the storage logic of the first business message is the same as the logic of storing the business prompt message in the platform basic library, that is, the platform basic library only stores the current first business message. If there is an old business message, the old business message will be deleted to store the current first business message.
[0174] Step S304: Obtain the platform operation strategy from the platform basic library. If the platform operation strategy contains a first business message associated with the business prompt message, determine that the first business operation meets the control display condition.
[0175] Specifically, if the first service message sent by the service server is obtained, the terminal device may determine that the first service operation meets the control display condition.
[0176] It can be understood that the control display conditions not only include the business operations preset by the second application, but are also related to the completion of the business event. For example, if the first business operation is a transaction payment operation, the control display conditions include the completion of the business transaction. Therefore, the embodiment of the present application does not limit the specific content of the control display conditions, and it should be set according to the actual application scenario.
[0177] Step S305: display a first service control in the first subprogram.
[0178] Step S306: display a first business message in the first business control; the first business message is provided by the second application, and the first business message is associated with the first business operation.
[0179] For the specific implementation process of steps S305 to S306, please refer to the above Figure 2 , Figure 3 , Figure 4 as well as Figure 7 The descriptions in the corresponding embodiments are not repeated here.
[0180] In an embodiment of the present application, if the first business operation performed by the business object in the first application satisfies the control display condition, the terminal device can display the first business control in the first subroutine of the second application, and the first business operation is realized by the business function provided by the second application; the first business control is provided by the second application; the business platform corresponding to the first application is the same as the business platform corresponding to the first subroutine; further, the terminal device can display the first business message in the first business control; the first business message is provided by the second application, and the first business message is associated with the first business operation. As can be seen from the above, an embodiment of the present application provides a non-fixed first business control, which is provided by the second application to the first subroutine of the second application, and through the first business control, the second application can send the first business message, so the use of this application can not only improve the display effect of the first subroutine, but also improve the display efficiency of the first business message.
[0181] It is understandable that the embodiments involved in this application, such as Figure 2 , Figure 3 , Figure 4 , Figure 7 as well as Fig.10 The corresponding embodiments can be combined to generate new embodiments.
[0182] For further information, see Fig.11 , Fig.11 1 is a schematic diagram of the structure of a data processing device provided in an embodiment of the present application. The above-mentioned data processing device 1 can be used to execute the corresponding steps in the method provided in an embodiment of the present application. Fig.11 As shown, the data processing device 1 may include: a first display module 11 and a second display module 12 .
[0183] A first display module 11 is used to display a first business control in a first subprogram in a second application if a first business operation performed by a business object in a first application satisfies a control display condition; the first business operation is implemented by a business function provided by the second application; the first business control is provided by the second application; and the business platform corresponding to the first application is the same as the business platform corresponding to the first subprogram;
[0184] The second display module 12 is used to display a first business message in the first business control; the first business message is provided by the second application, and the first business message is associated with the first business operation.
[0185] The specific functional implementation of the first display module 11 and the second display module 12 can be found in the above Figure 4 The steps S101 and S102 in the corresponding embodiment will not be described in detail here.
[0186] See also Fig.11 The data processing device 1 may further include: a first response module 13.
[0187] The first response module 13 is used to respond to the triggering operation on the first business control and display the business page provided by the second application; the business page is used for the business object to perform the second business operation associated with the first business operation.
[0188] The specific functional implementation of the first response module 13 can be found in the above Figure 2 The description in the corresponding embodiment will not be repeated here.
[0189] See also Fig.11 The data processing device 1 may further include: a second response module 14 and a third response module 15 .
[0190] The second response module 14 is used to respond to the input operation on the business page, obtain the input information, and determine the input information as a second business message; the second business message is sent from the second application to the first application;
[0191] The third response module 15 is used to respond to the triggering operation of the return control in the business page, return from the business page to the first subprogram, and cancel the display of the first business control in the first subprogram.
[0192] The specific functional implementation of the second response module 14 and the third response module 15 can be found in the above Figure 2 The description in the corresponding embodiment will not be repeated here.
[0193] See also Fig.11 The data processing device 1 may further include: a third display module 16 .
[0194] The third display module 16 is used to display the first business control in the second subprogram in the second application if the business object performs the first business operation in the third application; the business platform corresponding to the third application is the same as the business platform corresponding to the second subprogram, and the business platform corresponding to the third application is different from the business platform corresponding to the first application.
[0195] The specific function implementation of the third display module 16 can be found in the above Figure 7 The step S203 in the corresponding embodiment will not be described in detail here.
[0196] See also Fig.11 The data processing device 1 may further include: a duration statistics module 17.
[0197] The duration statistics module 17 is used to count the continuous display duration of the first service control, and if the continuous display duration is equal to the total display duration threshold, the first service control is cancelled.
[0198] The specific function implementation of the duration statistics module 17 can be found in the above Figure 4 The step S102 in the corresponding embodiment will not be described in detail here.
[0199] See also Fig.11 The first display module 11 may include: a first response unit 111 and a first display unit 112 .
[0200] A first response unit 111, configured to respond to a first business operation performed by a business object in a first application;
[0201] A first display unit 112, configured to display a first business control in a first subprogram in a second application at a first moment if the first business operation satisfies a control display condition;
[0202] The data processing device 1 may further include: a fourth response module 18 , a difference determination module 19 and a first update module 20 .
[0203] A fourth response module 18, configured to respond to a third business operation performed by the business object in the first application at the second moment;
[0204] A difference determination module 19, configured to determine a time difference between the second moment and the first moment if the third business operation satisfies the control display condition; the third business operation is implemented by a business function provided by the second application;
[0205] The first display module 11 is further configured to continuously display the first service control in the first subprogram if the time difference is less than the total display duration threshold;
[0206] The first updating module 20 is used for updating and displaying the first business control as the second business control in the first subroutine if the time difference is equal to the total display time threshold, and displaying the third business message in the second business control; the second business control is provided by the second application; the third business message is provided by the second application, and the third business message is associated with the third business operation;
[0207] The first display module 11 is further configured to display a second service control in the first subprogram if the time difference is greater than the total time threshold.
[0208] The specific functional implementation of the first response unit 111, the first display unit 112, the fourth response module 18, the difference determination module 19 and the first update module 20 can be referred to above. Figure 4 The step S102 in the corresponding embodiment will not be described in detail here.
[0209] See also Fig.11 The first display module 11 may include: a second response unit 113 and a second display unit 114 .
[0210] A second response unit 113, configured to respond to a first business operation performed by the business object in the first application;
[0211] The second display unit 114 is used to display the first business control in the current page of the first subprogram at a third moment if the first business operation meets the control display condition; the first subprogram is a subprogram in the second application;
[0212] The data processing device 1 may further include: a second updating module 21 and a fourth display module 22 .
[0213] The second updating module 21 is used to respond to the page update operation for the current page at a fourth time, and update the current page to display as the current updated page; the fourth time is later than the third time;
[0214] The fourth display module 22 is configured to keep displaying the first business control in the current update page if the time difference between the fourth moment and the third moment is less than the total display duration threshold.
[0215] The specific functional implementation of the second response unit 113, the second display unit 114, the second update module 21 and the fourth display module 22 can be referred to above. Figure 4 The step S102 in the corresponding embodiment will not be described in detail here.
[0216] See also Fig.11 , a first display module 11, specifically configured to determine a first brightness mode of the second application, and display a first business control in the first brightness mode in the first subprogram;
[0217] The second display module 12 is specifically configured to display the first service message in the first service control in a second brightness mode; the second brightness mode is different from the first brightness mode.
[0218] The specific functional implementation of the first display module 11 and the second display module 12 can be found in the above Figure 7 The steps S201 and S202 in the corresponding embodiment will not be described in detail here.
[0219] See also Fig.11 The second display module 12 may include: a third display unit 121 , a first statistical unit 122 , a first processing unit 123 and a first stopping unit 124 .
[0220] The third display unit 121 is used to continuously display the first business message with the first visual parameter; the first visual parameter belongs to the visual parameter in the first brightness mode;
[0221] A first counting unit 122, configured to count a first display time duration of continuously displaying a first business message with a first visual parameter;
[0222] The first processing unit 123 is configured to perform visual parameter change processing on the first service message starting from the first visual parameter when the first display duration is greater than a first display duration threshold;
[0223] The first stopping unit 124 is used to dynamically display the first service message with the changed visual parameter until the changed visual parameter reaches a second visual parameter, and then stop the visual parameter change process; the second visual parameter belongs to the visual parameter under the second brightness mode.
[0224] The specific functional implementation of the third display unit 121, the first statistical unit 122, the first processing unit 123 and the first stop unit 124 can be referred to above. Figure 7 The step S202 in the corresponding embodiment will not be described in detail here.
[0225] See also Fig.11 The second display module 12 may further include: a fourth display unit 125 , a second statistical unit 126 , a second processing unit 127 and a second stopping unit 128 .
[0226] The fourth display unit 125 is configured to continuously display the first service message with the second visual parameter when the changed visual parameter reaches the second visual parameter;
[0227] A second counting unit 126, configured to count a second display time duration of continuously displaying the first service message with a second visual parameter;
[0228] The second processing unit 127 is configured to perform a reverse change process of the visual parameter of the first service message starting from the second visual parameter when the second display duration is greater than the second display duration threshold;
[0229] The second stopping unit 128 is used to dynamically display the first business message with the reversely changed visual parameter until the reversely changed visual parameter reaches the first visual parameter, and then stop the reverse change process of the visual parameter; the second display time threshold is greater than the first display time threshold;
[0230] The third display unit 121 is further configured to continuously display the first business message with the first visual parameter when the reversely changed visual parameter reaches the first visual parameter;
[0231] The first counting unit 122 is further used to count a third display time duration of continuously displaying the first business message with the first visual parameter;
[0232] The third display unit 121 is further used to cancel display of the first business message when the third display time is greater than a third display time threshold; the third display time threshold is less than the first display time threshold.
[0233] The specific functional implementation of the fourth display unit 125, the second statistical unit 126, the second processing unit 127 and the second stop unit 128 can be referred to above. Figure 7 The step S202 in the corresponding embodiment will not be described in detail here.
[0234] See also Fig.11 The first display module 11 may include: a first acquisition unit 115 , a first storage unit 116 , a second storage unit 117 , a second acquisition unit 118 and a fifth display unit 119 .
[0235] The first acquisition unit 115 is used to respond to the first business operation performed by the business object in the first application, and acquire a business prompt message corresponding to the first business operation through the second application; the business platform corresponding to the second application is different from the business platform corresponding to the first application;
[0236] The first storage unit 116 is used to determine the program state of the first subprogram in the second application, and if the program state of the first subprogram is an unstarted state, store the service prompt message in a cache database corresponding to the second application; the service prompt message stored in the cache database is used to be transmitted to the platform basic library corresponding to the second application when the program state of the first subprogram is updated from an unstarted state to a started state;
[0237] The second storage unit 117 is used to store the service prompt message in the platform basic library if the program state of the first subprogram is the startup state;
[0238] The second acquisition unit 118 is used to acquire the platform operation strategy in the platform basic library, and if the platform operation strategy contains the first business message associated with the business prompt message, determine that the first business operation meets the control display condition;
[0239] The fifth display unit 119 is configured to display the first service control in the first subprogram.
[0240] The specific functional implementation of the first acquisition unit 115, the first storage unit 116, the second storage unit 117, the second acquisition unit 118 and the fifth display unit 119 can be referred to above. Fig.10 Steps S301 to S305 in the corresponding embodiment are not described in detail here.
[0241] See also Fig.11 The second storage unit 117 may include: a first obtaining subunit 1171, a second obtaining subunit 1172 and a message updating subunit 1173.
[0242] The first acquisition subunit 1171 is used to acquire a program index of the first subprogram, and acquire a message index table stored in association with the program index in the platform basic library;
[0243] The second acquisition subunit 1172 is used to acquire the message identifier of the service prompt message, and if there is no historical service prompt message having an index relationship with the message identifier in the message index table, the message identifier and the service prompt message are associated and stored in the message index table;
[0244] The message updating subunit 1173 is configured to update the historical service prompt message in the message index table to the service prompt message if there is a historical service prompt message having an index relationship with the message identifier in the message index table.
[0245] The specific functional implementation of the first acquisition subunit 1171, the second acquisition subunit 1172 and the message update subunit 1173 can be found in the above Fig.10 The step S303 in the corresponding embodiment will not be described in detail here.
[0246] See also Fig.11 , the fifth display unit 119 may include: a third acquisition subunit 1191 and a control display subunit 1192.
[0247] The third acquisition subunit 1191 is used to acquire the display mode associated with the service prompt message and the display condition associated with the service prompt message in the platform operation strategy;
[0248] The control display subunit 1192 is used to display the first business control in a display manner in the first subprogram when the first business control meets the display condition.
[0249] The specific functional implementation of the third acquisition subunit 1191 and the control display subunit 1192 can be found in the above Fig.10 The step S305 in the corresponding embodiment will not be described in detail here.
[0250] In an embodiment of the present application, if the first business operation performed by the business object in the first application satisfies the control display condition, the terminal device can display the first business control in the first subroutine of the second application, and the first business operation is realized by the business function provided by the second application; the first business control is provided by the second application; the business platform corresponding to the first application is the same as the business platform corresponding to the first subroutine; further, the terminal device can display the first business message in the first business control; the first business message is provided by the second application, and the first business message is associated with the first business operation. As can be seen from the above, an embodiment of the present application provides a non-fixed first business control, which is provided by the second application to the first subroutine of the second application, and through the first business control, the second application can send the first business message, so the use of this application can not only improve the display effect of the first subroutine, but also improve the display efficiency of the first business message.
[0251] For further information, see Fig.12 , Fig.12 Schematic diagram of the structure of a computer device provided in an embodiment of the present application. Fig.12 As shown, the computer device 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, a memory 1005, and at least one communication bus 1002. The communication bus 1002 is used to realize the connection and communication between these components. In some embodiments, the user interface 1003 may include a display screen (Display) and a keyboard (Keyboard), and the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 1005 may optionally also be at least one storage device located away from the aforementioned processor 1001. As shown in FIG. Fig.12 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a device control application.
[0252] exist Fig.12In the computer device 1000 shown, the network interface 1004 can provide a network communication function; the user interface 1003 is mainly used to provide an input interface for the user; and the processor 1001 can be used to call the device control application stored in the memory 1005 to achieve:
[0253] If a first business operation performed by a business object in a first application satisfies a control display condition, a first business control is displayed in a first subprogram in a second application; the first business operation is implemented by a business function provided by the second application; the first business control is provided by the second application; and the business platform corresponding to the first application is the same as the business platform corresponding to the first subprogram;
[0254] A first business message is displayed in the first business control; the first business message is provided by the second application, and the first business message is associated with the first business operation.
[0255] It should be understood that the computer device 1000 described in the embodiment of the present application can execute the description of the data processing method or device in the above embodiments, which will not be repeated here. In addition, the description of the beneficial effects of adopting the same method will not be repeated.
[0256] The present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the description of the data processing method or device in the above embodiments is implemented, which will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated.
[0257] The computer-readable storage medium may be the data processing device provided in any of the aforementioned embodiments or the internal storage unit of the computer device, such as the hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. equipped on the computer device. Further, the computer-readable storage medium may also include both the internal storage unit of the computer device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
[0258] The present application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. The processor of the computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device can execute the description of the data processing method or device in the above embodiments, which will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated.
[0259] The terms "first", "second", etc. in the description, claims, and drawings of the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order. In addition, the term "comprising" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, device, product, or equipment that includes a series of steps or units is not limited to the listed steps or modules, but optionally includes steps or modules that are not listed, or optionally includes other step units inherent to these processes, methods, devices, products, or equipment.
[0260] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0261] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A data processing method, characterized in that: include: If a first business operation performed by a business object in a first application satisfies a control display condition, a first business control is displayed in a first subprogram in a second application; the first business operation is implemented by a business function provided by the second application; the first business control is provided by the second application; and the business platform corresponding to the first application is the same as the business platform corresponding to the first subprogram; A first service message is displayed in the first service control; the first service message is provided by the second application, and the first service message is associated with the first service operation.
2. The method according to claim 1, characterized in that The method further comprises: In response to a trigger operation on the first business control, a business page provided by the second application is displayed; the business page is used by the business object to perform a second business operation associated with the first business operation.
3. The method according to claim 2, characterized in that The method further comprises: In response to an input operation on the business page, input information is acquired, and the input information is determined as a second business message; the second business message is sent by the second application to the first application; In response to a triggering operation on a return control in the business page, the business page is returned to the first subprogram, and the first business control is canceled from being displayed in the first subprogram.
4. The method according to claim 1, characterized in that: The method further comprises: If the business object performs the first business operation in a third application, the first business control is displayed in the second subprogram in the second application; the business platform corresponding to the third application is the same as the business platform corresponding to the second subprogram, and the business platform corresponding to the third application is different from the business platform corresponding to the first application.
5. The method according to claim 1, characterized in that The method further comprises: The continuous display time of the first service control is counted, and if the continuous display time is equal to a total display time threshold, the first service control is cancelled.
6. The method according to claim 5, characterized in that If the first business operation performed by the business object in the first application satisfies the control display condition, displaying the first business control in the first subprogram in the second application includes: Responding to a first business operation performed by the business object in the first application; If the first business operation satisfies the control display condition, then at a first moment, displaying the first business control in the first subprogram in the second application; The method further comprises: Responding to a third business operation performed by the business object in the first application at a second moment; If the third business operation meets the control display condition, determining the time difference between the second moment and the first moment; the third business operation is implemented by the business function provided by the second application; If the time difference is less than the total display duration threshold, continuously displaying the first service control in the first subprogram; If the time difference is equal to the total display duration threshold, then in the first subroutine, the first service control is updated and displayed as a second service control, and a third service message is displayed in the second service control; the second service control is provided by the second application; the third service message is provided by the second application, and the third service message is associated with the third service operation; If the time difference is greater than the total time threshold, the second service control is displayed in the first subprogram.
7. The method according to claim 5, characterized in that If the first business operation performed by the business object in the first application satisfies the control display condition, displaying the first business control in the first subprogram in the second application includes: Responding to a first business operation performed by the business object in the first application; If the first business operation meets the control display condition, then at a third moment, the first business control is displayed in the current page of the first subprogram; the first subprogram is a subprogram in the second application; The method further comprises: In response to a page update operation for the current page at a fourth time, the current page is updated and displayed as a current updated page; the fourth time is later than the third time; If the time difference between the fourth moment and the third moment is less than the total display duration threshold, the first service control is kept displayed in the current update page.
8. The method according to claim 1, characterized in that The displaying of the first service control in the first subprogram in the second application includes: Determine a first brightness mode of the second application, and display a first service control in the first subprogram in the first brightness mode; Then displaying the first service message in the first service control includes: In the first service control, a first service message is displayed in a second brightness mode; the second brightness mode is different from the first brightness mode.
9. The method according to claim 8, characterized in that The displaying of the first service message in the second brightness mode includes: Continuously displaying a first service message with a first visual parameter; the first visual parameter belongs to a visual parameter in the first brightness mode; Counting a first display time duration of continuously displaying the first service message with the first visual parameter; When the first display duration is greater than a first display duration threshold, starting from the first visual parameter, performing visual parameter change processing on the first service message; The first service message is dynamically displayed with the changed visual parameter until the changed visual parameter reaches a second visual parameter, and then the visual parameter change process is stopped; the second visual parameter belongs to the visual parameter under the second brightness mode.
10. The method according to claim 9, characterized in that Also includes: When the changed visual parameter reaches the second visual parameter, continuously displaying the first service message with the second visual parameter; Counting a second display time duration of continuously displaying the first service message with the second visual parameter; When the second display duration is greater than a second display duration threshold, starting from the second visual parameter, performing a reverse change process on the visual parameter of the first service message; The first service message is dynamically displayed with the reversely changed visual parameter until the reversely changed visual parameter reaches the first visual parameter, and the reverse change process of the visual parameter is stopped; the second display time threshold is greater than the first display time threshold; When the visual parameter after the reverse change reaches the first visual parameter, the first service message is continuously displayed with the first visual parameter; Counting a third display time duration of continuously displaying the first service message with the first visual parameter; When the third display time length is greater than the third display time length threshold, the first service message is canceled; and the third display time length threshold is less than the first display time length threshold.
11. The method according to claim 1, characterized in that: If the first business operation performed by the business object in the first application satisfies the control display condition, displaying the first business control in the first subprogram in the second application includes: In response to a first business operation performed by a business object in a first application, obtaining a business prompt message corresponding to the first business operation through a second application; the business platform corresponding to the second application is different from the business platform corresponding to the first application; Determine the program state of the first subprogram in the second application, and if the program state of the first subprogram is an unstarted state, store the service prompt message in a cache database corresponding to the second application; the service prompt message stored in the cache database is used to be transmitted to the platform basic library corresponding to the second application when the program state of the first subprogram is updated from the unstarted state to the started state; If the program state of the first subprogram is the startup state, storing the service prompt message in the platform basic library; Acquire a platform operation strategy in the platform basic library, and if the platform operation strategy contains the first business message associated with the business prompt message, determine that the first business operation meets a control display condition; A first service control is displayed in the first subprogram.
12. The method according to claim 11, characterized in that The storing the service prompt message into the platform basic library includes: Obtaining a program index of the first subprogram, and obtaining a message index table stored in association with the program index in the platform base library; Obtaining a message identifier of the service prompt message, and if there is no historical service prompt message having an index relationship with the message identifier in the message index table, storing the message identifier and the service prompt message in association with each other in the message index table; If the historical service prompt message having an index relationship with the message identifier exists in the message index table, the historical service prompt message in the message index table is updated to the service prompt message.
13. The method according to claim 11, characterized in that The displaying of the first service control in the first subprogram includes: In the platform operation strategy, obtaining a display method associated with the service prompt message and a display condition associated with the service prompt message; When the first service control meets the display condition, the first service control is displayed in the first subprogram in the display manner.
14. A data processing device, characterized in that: include: A first display module is used to display a first business control in a first subprogram in a second application if a first business operation performed by a business object in a first application satisfies a control display condition; the first business operation is implemented by a business function provided by the second application; and the first business control is provided by the second application; The service platform corresponding to the first application is the same as the service platform corresponding to the first subprogram; The second display module is used to display a first business message in the first business control; the first business message is provided by the second application, and the first business message is associated with the first business operation.
15. A computer device, characterized in that: include: Processor, memory, and network interface; The processor is connected to the memory and the network interface, wherein the network interface is used to provide a data communication function, the memory is used to store a computer program, and the processor is used to call the computer program so that the computer device executes the method described in any one of claims 1 to 13.
16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded and executed by a processor, so that a computer device having the processor executes the method according to any one of claims 1 to 13.
17. A computer program product, characterized in that The computer program product comprises a computer program, which is stored in a computer-readable storage medium. The computer program is suitable for being read and executed by a processor, so that a computer device having the processor executes the method according to any one of claims 1 to 13.