CN109885360B - Data processing method, device and storage medium - Google Patents

Data processing method, device and storage medium Download PDF

Info

Publication number
CN109885360B
CN109885360B CN201910152304.2A CN201910152304A CN109885360B CN 109885360 B CN109885360 B CN 109885360B CN 201910152304 A CN201910152304 A CN 201910152304A CN 109885360 B CN109885360 B CN 109885360B
Authority
CN
China
Prior art keywords
fast application
application
fast
service
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910152304.2A
Other languages
Chinese (zh)
Other versions
CN109885360A (en
Inventor
童伟
陈胤立
杨亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201910152304.2A priority Critical patent/CN109885360B/en
Publication of CN109885360A publication Critical patent/CN109885360A/en
Application granted granted Critical
Publication of CN109885360B publication Critical patent/CN109885360B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The disclosure relates to a data processing method, a data processing device and a storage medium. The method comprises the following steps: the method comprises the steps that a main thread of an application acquires identification information of a display element; judging whether an executable object corresponding to the display element exists in a preset memory according to the identification information, wherein the preset memory space is based on a Least Recently Used (LRU) algorithm; and if so, acquiring the executable object, and rendering and generating the display element in a user interface based on the executable object. By means of the method and the device, time cost and calculation cost for converting the display elements from character string description to executable objects in the process of page rendering in the application can be reduced.

Description

Data processing method, device and storage medium
Technical Field
The present disclosure relates to the field of application development technologies, and in particular, to a data processing method, an apparatus, and a storage medium.
Background
The fast application is a novel application ecology based on a hardware platform in the current market, and in the using process, a user can use various fast applications in a point-to-point manner without downloading and installing native applications, and can enjoy the same performance experience as the native applications. The fast application framework is deeply integrated in the operating systems of mobile phones of various manufacturers, so that the connection between user requirements and application services can be realized on the operating system level, the use experience of users and the conversion efficiency of the application services are improved, and meanwhile, the retention capabilities of generating desktop icons and the like are supported. In the process of using the fast application, some native applications in the client are often required to be called for business processing, and the business processing items may include, for example, payment processing, member authentication processing, and the like.
In the related art, in the process of calling the client native application to perform service processing, a third-party service interface is often used to send a service processing request to the native application. After a native application generates result data, the result data is often returned to the corresponding native application by default. This will result in the result data not being correctly returned to the fast application platform, and if there is no corresponding native application in the client, the generated result data may be discarded, resulting in that the business process cannot be successfully completed.
Therefore, there is a need in the related art for a data processing method that can process a service request of a fast application by using a client native application and successfully return result data to the fast application.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a data processing method, apparatus, and storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a data processing method, including:
receiving a service request to be sent to a target application from a fast application, wherein the information of the fast application is registered in a client operating system;
calling a service interface module to send the service request to the target application;
receiving result data corresponding to the service request from the service interface module and transmitting the result data to the fast application, wherein the result data is transmitted to the service interface module after being matched with the information of the registered fast application through the client operating system.
According to a second aspect of the embodiments of the present disclosure, there is provided a data processing method, including:
receiving result data from a target application, wherein the result data comprises content identification information;
judging whether the registered fast application set has fast application information matched with the content identification information or not according to the content identification information;
and if so, sending the result data to a service interface module corresponding to the target application, wherein the service interface module is used for sending the result data to a fast application platform, and the fast application platform comprises a fast application corresponding to the fast application information.
According to a third aspect of the embodiments of the present disclosure, there is provided a data processing apparatus including:
the system comprises a request receiving module, a service request sending module and a service processing module, wherein the request receiving module is used for receiving a service request to be sent to a target application from a fast application, and the information of the fast application is registered in a client operating system;
the interface calling module is used for calling a service interface module to send the service request to the target application;
and the data sending module is used for receiving result data corresponding to the service request from the service interface module and sending the result data to the fast application, wherein the result data is sent to the service interface module after being matched with the information of the registered fast application through the client operating system.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a data processing apparatus comprising:
the data receiving module is used for receiving result data from the target application, and the result data comprises content identification information;
the judging module is used for judging whether the registered fast application set has fast application information matched with the content identification information or not according to the content identification information;
and the data sending module is used for sending the result data to a service interface module corresponding to the target application if the judgment result is yes, the service interface module is used for sending the result data to a fast application platform, and the fast application platform comprises a fast application corresponding to the fast application information.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a data processing apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured as the data processing method.
According to a sixth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions therein, which when executed by a processor, enable the processor to perform the data processing method.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the data processing method device provided by each embodiment of the disclosure can register the information of the fast application in the client operating system, so that the information of the fast application can be stored in the client operating system. Based on this, after the fast application generates a service requirement to the target native application, the fast application platform may send a service request to the target native application through the service interface module. The target native application, after processing the service request and generating result data, may send the result data to the client operating system. Because the client operating system stores the information of the registered fast applications, the client operating system can match the corresponding registered fast applications according to the result data and return the result data to the registered fast applications. The fast application can complete corresponding service processing after receiving the result data.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic diagram illustrating a data processing method according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating a method of data processing according to an exemplary embodiment.
FIG. 3 is a flow chart illustrating a method of data processing according to an exemplary embodiment.
FIG. 4 is a block diagram illustrating a data processing apparatus according to an example embodiment.
FIG. 5 is a block diagram illustrating a data processing apparatus according to an example embodiment.
FIG. 6 is a block diagram illustrating an apparatus in accordance with an example embodiment.
FIG. 7 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In order to facilitate those skilled in the art to understand the technical solutions provided in the embodiments of the present application, a technical environment for implementing the technical solutions is first described below.
In an application scene, an online shopping application A is arranged in a quick application platform based on an Android operating system, and a user needs to perform payment service processing in the process of using the online shopping application A. But the payment business processing needs to be processed in a payment application B of an Android operating system, and the payment application B is a native application. Based on the current technology, a service interface module applied between a fast application and a native application has not been provided yet, but a service interface module between a native application and a native application can be implemented. Therefore, the payment request of the online shopping mall application a can be packaged into the payment request of the native application, and the packaged payment request is sent to the payment application B through the service interface module. The payment application B may generate corresponding result data in response to the payment request. Then, the payment application B may return the generated result data to the Android operating system. However, the Android operating system generally returns the result data to the corresponding native application by default, such as the online shopping native application a corresponding to the online shopping express application a. This may result in the result data not being correctly returned to the online shopping mall application a. If the Android operating system does not install the online shopping native application A, the generated result data is discarded, that is, the user cannot realize payment operation in the online shopping native application A.
Based on the above technical requirements, the data processing method provided by the present disclosure may register information of the fast application in the client operating platform, so that when the client operating platform monitors result data returned by the native application, the result data may be returned to the registered fast application. Based on this, the fast application can complete corresponding service processing after receiving the result data.
The data processing method provided by the embodiments of the present disclosure is described below by a specific application scenario.
As shown in the schematic diagram of fig. 1, a fast application may first register information of the fast application with the client operating system through a fast application platform before sending a service request to a target application. Specifically, the fast application may send a registration request to the fast application platform, and the fast application platform may send the registration request to the client operating system after receiving the registration request. The registration request is used for registering and monitoring a preset event of the fast application in the client operating system, wherein the preset event comprises an event for sending data to the fast application. After the client operating system registers the fast application, the client operating system may store information of the fast application.
When a service demand for a target application is generated at a client, the fast application may send a service request to the fast application platform. And the fast application platform sends the service request through a service interface module matched with the target application. And the target application generates corresponding result data after finishing the identity authentication and the service request processing. The target application may then send the result data to the client operating system. After receiving the result data, the client operating system may match content identification information in the result data with fast application information in a stored registered fast application set, and determine whether the registered fast application set has fast application information that matches the content identification information. And if the fast application information matched with the content identification information exists, the result data is sent to the fast application platform through the service interface module. After receiving the result data, the fast application platform may send the result data to a corresponding fast application.
The data processing method according to the present disclosure will be described in detail below with reference to the accompanying drawings. Fig. 2 is a method flowchart of an embodiment of a data processing method provided by the present disclosure. Although the present disclosure provides method steps as illustrated in the following examples or figures, more or fewer steps may be included in the method based on conventional or non-inventive efforts. In steps where no necessary causal relationship exists logically, the order of execution of the steps is not limited to that provided by the disclosed embodiments.
Specifically, as shown in fig. 2, an embodiment of the data processing method provided by the present disclosure may include:
in step 201, receiving a service request to be sent to a target application from a fast application, wherein information of the fast application is registered in a client operating system;
in step 203, a service interface module is called to send the service request to the target application;
in step 205, result data corresponding to the service request is received from the service interface module, and the result data is sent to the fast application, where the result data is sent to the service interface module after being matched to the information of the registered fast application by the client operating system.
The data processing method provided by the disclosure can be applied to any client with a fast application platform, the fast application platform can be integrated in a client operating system, and fast applications in the fast application platform can directly run in a client operating system layer. The client may include a terminal device capable of rendering display elements. Specifically, for example, the electronic device may be a mobile smart phone, a computer (including a laptop computer and a desktop computer), a tablet electronic device, a Personal Digital Assistant (PDA) or a smart wearable device, and the like.
In the embodiment of the present disclosure, the implementation subject of steps 201 to 205 may be a fast application platform. In the process of using the fast application, the fast application may generate a service requirement for a target application, where the target application may be a native application installed in a client, and the native application may include an application that may run after an operating system is installed by using an installation file (e.g., an apk package of Android). In one example, if a fast online shopping application in the fast application platform needs to complete payment processing in a payment native application, the payment native application is the target application, and the generated service request is a payment request. For another example, if the fast application needs to complete member authentication processing in a social native application, the social native application is the target application, and the generated service request is an authentication request. After the fast application generates the service request of the target-oriented application, the service request can be sent to the fast application platform.
In the embodiment of the disclosure, the fast application information is registered in the client operating system. The client operating system may include a client read-only memory (ROM) because the ROM is used to store the operating system code for the client. In the embodiment of the disclosure, the client operating system can register the fast application information. After the fast application is registered in the client operating system, the client operating system may monitor a preset event of the fast application, where the preset event includes an event of sending data to the fast application. That is, when the client operating system monitors an event of sending data to the registered fast application, the corresponding data can be sent to the platform where the fast application is located. Based on this, in one embodiment of the present disclosure, a set of registered fast applications for storing fast application information of registered listening events may be included in the client operating system. The fast application information may include, for example, one or more of fast application unique identification information, a fast application name, and a fast application URL address.
In one embodiment, the service request may include unique identification information of the fast application. In this way, when the subsequent target application returns result data, the client operating system can identify to which fast application the result data is returned through the unique identification information. In one example, the unique identification information may include URL address information of the fast application, and the like, and of course, the unique identification information may include any information that can be used to identify the uniqueness of the fast application, and the disclosure is not limited herein.
After receiving the service request of the fast application facing the target application, the fast application platform may call a service interface template to send the service request to the target application. In the embodiment of the present disclosure, the service interface module may include a module for connecting between the fast application platform and the target application. In one embodiment, the service interface module includes a Software Development Kit (SDK), and an interface facing the target application may be provided in the SDK. In the embodiment of the present disclosure, the SDK may be provided by a developer of the target application, and therefore, in the fast application development platform, the target application and the SDK have a one-to-one correspondence relationship. In an example, after accessing the SDK corresponding to the payment-type native application a on the fast application platform, for any fast application that needs to perform payment processing by using the target application a, the fast application platform may call the SDK to send a corresponding service request to the payment-type native application a. Based on this, in the process of calling a service interface module to send the service request to the target application, the fast application platform may first determine the service interface module matched with the target application, then send the service request to the service interface module, and send the service request to the target application by using the service interface template.
In the embodiment of the present disclosure, after receiving the service request, the target application may process the service request. In one example, after the target application receives the payment request of the fast application and then determines the validity of the payment request, the user may be prompted to enter a payment password and the payment is completed at the target application, so that result data of successful payment may be generated. After processing the generated result data, the target application may send the result data to the client operating system.
In an embodiment of the present disclosure, the result data may include content identification information, and the content identification information may include related information of the fast application, for example, one or more of unique fast application identification information, a fast application name, and a fast application URL address. In this way, after receiving the result data, the client operating system may match content identification information in the result data with the registered fast application set, and determine whether fast application information matched with the content identification information exists in the registered fast application set. And if the judgment result is yes, sending the result data to the service interface module. In one example, the fast application platform sends a service request through the service interface module including domain name information www.XX. fast application com, which may serve as unique identification information for XX fast applications. Then, the result data of the generated facies may include the above domain name information after the target application processes the completion of the service request. And the information of the XX fast application is included in the registered fast application set of the client operating system, based on which, after receiving the result data, the client operating system can match the XX fast application information matched with the domain name information in the registered fast application set, so that the client operating system can send the result data to the fast application platform.
The service interface module may send the result data to the fast application platform after receiving the result data. The fast application platform may send the result data to the fast application after receiving the result data. In an embodiment, the fast application platform may send the result data to a corresponding fast application according to content identification information in the result data. In another embodiment, since the general service request processing is often a fast application being opened in the fast application platform, the fast application platform may send the result data to the fast application currently in use. In another embodiment, the client operating system may determine a fast application according to the content identification information in the result data, and send fast application information to the fast application platform.
In one embodiment of the present disclosure, after receiving the result data, the fast application platform may present the result data in a user interface of the client to inform a user of a result of the service request processing. For example, after the user has quickly applied payment completion, a notification message of payment completion may be presented in the client user interface.
The data processing method provided by each embodiment of the disclosure can register the information of the fast application in the client operating system, so that the information of the fast application can be stored in the client operating system. Based on this, after the fast application generates a service requirement to the target native application, the fast application platform may send a service request to the target native application through the service interface module. The target native application, after processing the service request and generating result data, may send the result data to the client operating system. Because the client operating system stores the information of the registered fast applications, the client operating system can match the corresponding registered fast applications according to the result data and return the result data to the registered fast applications. The fast application can complete corresponding service processing after receiving the result data.
Another aspect of the present disclosure provides a data processing method from the perspective of a client operating system, as shown in fig. 3, the method may include:
step 301, receiving result data from a target application, where the result data includes content identification information;
in step 303, according to the content identification information, it is determined whether fast application information matching with the content identification information exists in a registered fast application set;
in step 305, if the determination result is yes, the result data is sent to a service interface module corresponding to the target application, where the service interface module is used to send the result data to a fast application platform, and the fast application platform includes a fast application corresponding to the fast application information.
Optionally, in an embodiment of the present disclosure, the method may further include:
receiving a registration request of a fast application, wherein the registration request comprises information of the fast application and is used for registering and monitoring a preset event of the fast application, and the preset event comprises an event for sending data to the fast application;
and storing the information of the fast application into the registered fast application set.
Reference may be made to the above examples for specific embodiments thereof, and the disclosure is not limited thereto.
Another aspect of the present disclosure also provides a data processing apparatus, and fig. 4 is a block diagram illustrating a data processing apparatus 400 according to an example embodiment. Referring to fig. 4, the apparatus includes a request receiving module 401, an interface calling module 403, and a data transmitting module 405, wherein,
a request receiving module 401, configured to receive a service request to be sent to a target application from a fast application, where information of the fast application is registered in a client operating system;
an interface calling module 403, configured to call a service interface module to send the service request to the target application;
a data sending module 405, configured to receive result data corresponding to the service request from the service interface module, and send the result data to the fast application, where the result data is sent to the service interface module after being matched to the information of the registered fast application by the client operating system.
Optionally, in an embodiment of the present disclosure, the apparatus further includes:
a registration request receiving module for receiving a registration request of the fast application;
the request sending module is used for sending a registration request to a client operating system, wherein the registration request is used for registering and monitoring a preset event of the fast application in the client operating system, and the preset event comprises an event for sending data to the fast application.
Optionally, in an embodiment of the present disclosure, the service request includes unique identification information of the fast application.
Optionally, in an embodiment of the present disclosure, the interface calling module includes:
the interface determining submodule is used for determining a service interface module matched with the target application;
and the request sending submodule is used for sending the service request to the service interface module and sending the service request to the target application by using the service interface template.
Optionally, in an embodiment of the present disclosure, the service interface module includes a software development kit, and an interface facing the target application is set in the software development kit.
Optionally, in an embodiment of the present disclosure, the apparatus further includes:
and the data display module is used for displaying the result data corresponding to the service request in a user interface of a client.
Another aspect of the present disclosure also provides a data processing apparatus, and fig. 5 is a block diagram illustrating a data processing apparatus 500 according to an exemplary embodiment. Referring to fig. 5, the apparatus includes a data receiving module 501, a determining module 503, and a data transmitting module 505, wherein,
a data receiving module 501, configured to receive result data from a target application, where the result data includes content identification information;
a determining module 503, configured to determine, according to the content identification information, whether fast application information matching the content identification information exists in a registered fast application set;
and a data sending module 505, configured to send the result data to a service interface module corresponding to the target application if the determination result is yes, where the service interface module is configured to send the result data to a fast application platform, and the fast application platform includes a fast application corresponding to the fast application information.
Optionally, in an embodiment of the present disclosure, the method may further include:
a registration request receiving module, configured to receive a registration request of a fast application, where the registration request includes information of the fast application, and is used to register and monitor a preset event of the fast application, where the preset event includes an event for sending data to the fast application;
and the information storage module is used for storing the information of the fast application into the registered fast application set.
Fig. 6 is a block diagram illustrating an apparatus 700 for resource allocation indication in accordance with an example embodiment. For example, the apparatus 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, the apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the apparatus 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch-sensitive display to transmit input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may transmit external multimedia data when the device 700 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to transmit external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The transmitted audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of device 700, sensor assembly 714 may also detect a change in position of device 700 or a component of device 700, the presence or absence of user contact with device 700, orientation or acceleration/deceleration of device 700, and a change in temperature of device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 transmits the broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the apparatus 700 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 7 is a block diagram illustrating an apparatus 800 for information processing according to an example embodiment. For example, the apparatus 800 may be provided as a server. Referring to FIG. 7, the apparatus 800 includes a processing component 822, which further includes one or more processors, and memory resources, represented by memory 832, for storing instructions, such as applications, that are executable by the processing component 822. The application programs stored in memory 832 may include one or more modules that each correspond to a set of instructions. Further, the processing component 822 is configured to execute instructions to perform a method as described in any of the embodiments above.
The device 800 may also include a power component 826 configured to perform power management of the device 800, a wired or wireless network interface 850 configured to connect the device 800 to a network, and an input/output (I/O) interface 858. The apparatus 800 may operate based on an operating system stored in the memory 832, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 832 comprising instructions, executable by the processing component 822 of the apparatus 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. A data processing method, comprising:
receiving a service request to be sent to a target application from a fast application, wherein the information of the fast application is registered in a client operating system;
calling a service interface module to send the service request to the target application;
receiving result data corresponding to the service request from the service interface module and transmitting the result data to the fast application, wherein the result data is transmitted to the service interface module after being matched with the information of the registered fast application by the client operating system;
before the receiving, from the fast application, the service request to be sent to the target application receives, from the fast application, the service request to be sent to the target application, the method further includes:
receiving a registration request of a fast application;
and sending a registration request to a client operating system, wherein the registration request is used for registering and monitoring a preset event of the fast application in the client operating system, and the preset event comprises an event for sending data to the fast application.
2. The data processing method of claim 1, wherein the service request includes unique identification information of the fast application.
3. The data processing method of claim 1, wherein sending the service request to the target application by the calling service interface module comprises:
determining a service interface module matched with the target application;
and sending the service request to the service interface module, and sending the service request to the target application by using the service interface module.
4. The data processing method according to claim 1 or 3, wherein the service interface module comprises a software development kit, and an interface facing the target application is arranged in the software development kit.
5. The data processing method of claim 1, wherein the method further comprises:
and displaying the result data corresponding to the service request in a user interface of the client.
6. A data processing method, comprising:
receiving result data from a target application, wherein the result data comprises content identification information;
judging whether the registered fast application set has fast application information matched with the content identification information or not according to the content identification information;
if the judgment result is yes, the result data is sent to a service interface module corresponding to the target application, the service interface module is used for sending the result data to a fast application platform, and the fast application platform comprises a fast application corresponding to the fast application information;
further comprising:
receiving a registration request of a fast application, wherein the registration request comprises information of the fast application and is used for registering and monitoring a preset event of the fast application, and the preset event comprises an event for sending data to the fast application;
and storing the information of the fast application into the registered fast application set.
7. A data processing apparatus, comprising:
the system comprises a request receiving module, a service request sending module and a service processing module, wherein the request receiving module is used for receiving a service request to be sent to a target application from a fast application, and the information of the fast application is registered in a client operating system;
the interface calling module is used for calling a service interface module to send the service request to the target application;
a data sending module, configured to receive result data corresponding to the service request from the service interface module, and send the result data to the fast application, where the result data is sent to the service interface module after being matched with information of the registered fast application by the client operating system;
the device further comprises:
a registration request receiving module for receiving a registration request of the fast application;
the request sending module is used for sending a registration request to a client operating system, wherein the registration request is used for registering and monitoring a preset event of the fast application in the client operating system, and the preset event comprises an event for sending data to the fast application.
8. The data processing apparatus of claim 7, wherein the service request includes unique identification information of the fast application.
9. The data processing apparatus of claim 7, wherein the interface call module comprises:
the interface determining submodule is used for determining a service interface module matched with the target application;
and the request sending submodule is used for sending the service request to the service interface module and sending the service request to the target application by using the service interface module.
10. The data processing apparatus according to claim 7 or 9, wherein the service interface module comprises a software development kit, and an interface facing the target application is provided in the software development kit.
11. The data processing apparatus of claim 7, wherein the apparatus further comprises:
and the data display module is used for displaying the result data corresponding to the service request in a user interface of a client.
12. A data processing apparatus, comprising:
the data receiving module is used for receiving result data from the target application, and the result data comprises content identification information;
the judging module is used for judging whether the registered fast application set has fast application information matched with the content identification information or not according to the content identification information;
the data sending module is used for sending the result data to a service interface module corresponding to the target application if the judgment result is yes, the service interface module is used for sending the result data to a fast application platform, and the fast application platform comprises a fast application corresponding to the fast application information;
further comprising:
a registration request receiving module, configured to receive a registration request of a fast application, where the registration request includes information of the fast application, and is used to register and monitor a preset event of the fast application, where the preset event includes an event for sending data to the fast application;
and the information storage module is used for storing the information of the fast application into the registered fast application set.
13. A data processing apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of any one of claims 1-6.
14. A non-transitory computer readable storage medium having instructions therein, which when executed by a processor, enable the processor to perform the method of any of claims 1-6.
CN201910152304.2A 2019-02-28 2019-02-28 Data processing method, device and storage medium Active CN109885360B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910152304.2A CN109885360B (en) 2019-02-28 2019-02-28 Data processing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910152304.2A CN109885360B (en) 2019-02-28 2019-02-28 Data processing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN109885360A CN109885360A (en) 2019-06-14
CN109885360B true CN109885360B (en) 2022-06-03

Family

ID=66930035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910152304.2A Active CN109885360B (en) 2019-02-28 2019-02-28 Data processing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN109885360B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110837817A (en) * 2019-11-18 2020-02-25 北京小米移动软件有限公司 Target object identification method, device, equipment and storage medium
CN116991506B (en) * 2023-09-28 2024-04-30 腾讯科技(深圳)有限公司 Webpage rendering method and device, terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106651522A (en) * 2016-12-26 2017-05-10 腾讯科技(深圳)有限公司 Information interaction method and device
CN107203576A (en) * 2016-03-18 2017-09-26 北京京东尚科信息技术有限公司 Information synchronization method and device
CN108958074A (en) * 2018-06-20 2018-12-07 维沃移动通信有限公司 A kind of smart machine control method and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150249720A1 (en) * 2014-03-03 2015-09-03 Airpush, Inc. In-app content channel

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203576A (en) * 2016-03-18 2017-09-26 北京京东尚科信息技术有限公司 Information synchronization method and device
CN106651522A (en) * 2016-12-26 2017-05-10 腾讯科技(深圳)有限公司 Information interaction method and device
CN108958074A (en) * 2018-06-20 2018-12-07 维沃移动通信有限公司 A kind of smart machine control method and mobile terminal

Also Published As

Publication number Publication date
CN109885360A (en) 2019-06-14

Similar Documents

Publication Publication Date Title
US10104599B2 (en) Device binding methods and apparatuses
CN107329742B (en) Software development kit calling method and device
US9648152B2 (en) Methods and devices for labeling a number
CN108833585B (en) Information interaction method and device and storage medium
EP3010187A1 (en) Method for upgrading and device and apparatus thereof
CN108600529B (en) Information interaction method and device and computer readable storage medium
CN107094094B (en) Application networking method and device and terminal
CN108764003B (en) Picture identification method and device
EP3462367B1 (en) Method and apparatus for displaying application interface
CN107959757B (en) User information processing method and device, APP server and terminal equipment
CN107395624B (en) Information processing method and device
CN110166564B (en) Information communication method, terminal and storage medium
CN109885360B (en) Data processing method, device and storage medium
CN109246094B (en) User terminal verification method, device and storage medium
CN110008668B (en) Data processing method, device and storage medium
CN109491655B (en) Input event processing method and device
US10091236B2 (en) Methods apparatuses, and storage mediums for acquiring legitimate installation packages
CN107070816B (en) Application identification method and device and mobile terminal
CN107395724B (en) Network request method and device
CN106060104B (en) Application management method and device
CN109194639B (en) Message receiving and processing method, device, terminal and readable storage medium
CN107734072B (en) Processing method and device for push information
CN112102009A (en) Advertisement display method, device, equipment and storage medium
CN113726905A (en) Data acquisition method, device and equipment based on home terminal equipment
CN110740360B (en) Multimedia resource playing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant