CN113656193A - Application communication method, system, electronic equipment and storage medium - Google Patents
Application communication method, system, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN113656193A CN113656193A CN202110919396.XA CN202110919396A CN113656193A CN 113656193 A CN113656193 A CN 113656193A CN 202110919396 A CN202110919396 A CN 202110919396A CN 113656193 A CN113656193 A CN 113656193A
- Authority
- CN
- China
- Prior art keywords
- target
- application platform
- target application
- service
- data
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000004891 communication Methods 0.000 title claims abstract description 45
- 230000005540 biological transmission Effects 0.000 claims abstract description 85
- 230000004913 activation Effects 0.000 claims description 18
- 230000003213 activating effect Effects 0.000 claims description 10
- 238000013475 authorization Methods 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 4
- 238000012545 processing Methods 0.000 description 9
- 230000003287 optical effect Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000012544 monitoring process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 239000013307 optical fiber Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/543—User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses an application communication method, an application communication system, electronic equipment and a storage medium. The method comprises the following steps: when a browser receives a service transmission request which is sent by a user terminal and used for starting service transmission with a target application platform, target service data corresponding to the service transmission request are determined, the target service data are written into a system clipboard, the target service data are stored through the system clipboard, and the target application platform reads the target service data from the system clipboard. According to the technical scheme of the embodiment of the invention, the target application platform obtains the target service data in a mode of reading the system clipboard, the data volume of the service data does not influence data transmission, and the browser end and the target application platform are ensured to effectively finish data transmission.
Description
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an application communication method, an application communication system, electronic equipment and a storage medium.
Background
With the continuous and rapid development of the internet, APP (Application) has been widely used in the life and work of users. In order to improve convenience and universality of using the APP by a user, a browser is communicated with the APP, and a task specified by the user is completed by transmitting data, so that the method becomes a current common application mode.
In the prior art, a browser realizes data communication with an APP through a preset URL (uniform resource locator) of a user-defined protocol, wakes up the APP through URL parameters, and transmits service data. However, the transmission of the service data with the APP is completed by adopting the prior art, the transmitted data volume is affected by the length of the URL character, and at most, only the service data with a fixed data volume can be transmitted, and when the transmitted service data has a large data volume, the communication between the browser and the APP fails, the service cannot be completed, and the experience of the user is reduced.
Disclosure of Invention
The embodiment of the invention provides an application communication method, an application communication system, electronic equipment and a storage medium, which are used for realizing that a target application platform obtains target service data in a mode of reading a system clipboard, the data volume of the service data does not influence data transmission, and the browser end and the target application platform are ensured to effectively finish data transmission.
In a first aspect, an embodiment of the present invention provides an application communication method, which may include:
when a browser receives a service transmission request which is sent by a user terminal and used for starting service transmission with a target application platform, determining target service data corresponding to the service transmission request, and writing the target service data into a system clipboard;
and the target application platform reads the target business data from the system clipboard.
In a second aspect, an embodiment of the present invention provides an application communication system, which may include:
the system comprises a browser end, a system clipboard and a service application platform, wherein the browser end is used for receiving a service transmission request which is sent by a user terminal and used for starting service transmission with a target application platform, determining target service data corresponding to the service transmission request and writing the target service data into the system clipboard;
and the target application platform is used for reading the target business data from the system clipboard.
In a third aspect, an embodiment of the present invention provides an electronic device, which may include:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the application communication method provided by any embodiment of the present invention.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the application communication method provided in any embodiment of the present invention.
In the application communication method provided by the embodiment of the invention, when a browser receives a service transmission request which is sent by a user terminal and used for starting service transmission with a target application platform, target service data corresponding to the service transmission request is determined, the target service data is written into a system clipboard, the target service data is stored through the system clipboard, and the target application platform reads the target service data from the system clipboard. Therefore, the target application platform obtains the target service data in a mode of reading the system clipboard, the data volume of the service data does not influence data transmission, and the browser end and the target application platform are ensured to effectively finish data transmission.
In addition, the application communication system, the electronic equipment and the storage medium provided by the invention correspond to the method, and have the same beneficial effects.
Drawings
In order to illustrate the embodiments of the present invention more clearly, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of an application communication method according to an embodiment of the present invention;
fig. 2 is a flowchart of another method for communication application according to an embodiment of the present invention;
fig. 3 is a flowchart of an application communication method in an application scenario according to an embodiment of the present invention;
fig. 4 is a block diagram of an application communication system according to an embodiment of the present invention;
fig. 5 is a structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
The core of the invention is to provide an application communication method, a system, electronic equipment and a storage medium, so that a target application platform obtains target service data in a mode of reading a system clipboard, the data volume of the service data does not influence data transmission, and the browser end and the target application platform are ensured to effectively complete data transmission.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Example one
Fig. 1 is a flowchart of an application communication method according to an embodiment of the present invention. The method can be executed by the application communication system provided by the embodiment of the invention, the system can be realized by software and/or hardware, and the system can be integrated on various user terminals or servers.
As shown in fig. 1, the method of the embodiment of the present invention specifically includes the following steps:
s101, when a browser end receives a service transmission request which is sent by a user terminal and used for starting service transmission with a target application platform, determining target service data corresponding to the service transmission request, and writing the target service data into a system clipboard.
In an implementation, the user terminal establishes communication with the browser side and can send instructions to the browser side. When a user needs a browser end to finish a target service, a service transmission request for starting service transmission with a target application platform can be generated in a display interface provided by the browser by clicking a key, inputting characters by an input box and the like, and the user terminal sends the service transmission request to the browser end.
Illustratively, the target service includes at least one of a reference file, a download file, an edit file, a favorite file, and a forward file, and the file may include at least one of a document, a picture, audio, and video. The user terminal comprises at least one of a mobile phone, a desktop computer and a tablet computer. The target application platform comprises a document processing application, an image processing application, a communication application, an office application and the like. For example, when the target service is a reference file, the corresponding target application platform may be Microsoft Office Word or PDF (Portable Document Format).
Further, when the browser receives a service transmission request sent by the user terminal, the corresponding target service data may be determined based on the service transmission request. Specifically, the target service data may be generated based on the target service information included in the service transmission request. Illustratively, the target service information includes a service identifier and a user terminal identifier of the target service. The target business data includes a number sequence in JSON (JavaScript Object Notation) format.
Specifically, the service transmission request may include platform information of the target application platform, for example, platform information such as a platform identifier and an application platform name, and the browser end may determine the target application platform based on the platform information.
Further, the determined target business data is written into the system clipboard. The system clipboard may use copy and paste operations to store data for short periods of time and to transfer data in documents or application pieces. For example, the target business data can be written into the system clipboard in the form of a character string, and the target business data can be transmitted to the target application platform through the system clipboard.
S102, the target application platform reads the target business data from the system clipboard.
In a specific implementation, after the system clipboard writes the target business data, the target application platform reads the stored target business data from the system clipboard. It should be noted that, when the target application platform reads the target service data, the target application platform needs to be in an activated state.
In the application communication method provided by the embodiment of the invention, when a browser receives a service transmission request which is sent by a user terminal and used for starting service transmission with a target application platform, target service data corresponding to the service transmission request is determined, the target service data is written into a system clipboard, the target service data is stored through the system clipboard, and the target application platform reads the target service data from the system clipboard. Therefore, the target application platform obtains the target service data in a mode of reading the system clipboard, the data volume of the service data does not influence data transmission, and the browser end and the target application platform are ensured to effectively finish data transmission.
Example two
Fig. 2 is a flowchart of another method for communication application according to an embodiment of the present invention. The present embodiment is optimized based on the above technical solutions. Optionally, before the target application platform reads the target business data from the system clipboard, the method further includes: and activating the target application platform based on the service transmission request. Optionally, the reading, by the target application platform, the target service data from the system clipboard includes: monitoring the storage state of a system clipboard by a target application platform, and reading the target business data from the system clipboard when the storage state is updated to a target storage state; the target storage state is used for indicating that the target business data are stored in the system clipboard. Optionally, the method further includes: acquiring state identifiers corresponding to all business data stored in a system clipboard; the state identifier comprises a read identifier used for indicating that the service data is read by the client; and determining the read service data corresponding to the read identification, and deleting each read service data. The same or corresponding terms as those in the above embodiments are not explained in detail herein.
As shown in fig. 2, the method of the embodiment of the present invention specifically includes the following steps:
s201, when a browser end receives a service transmission request which is sent by a user terminal and used for starting service transmission with a target application platform, determining target service data corresponding to the service transmission request, and writing the target service data into a system clipboard.
S202, activating the target application platform based on the service transmission request.
In a specific implementation, the service transmission request may include platform information of the target application platform, the target application platform may be determined based on the platform information, an activation operation is performed on the target application platform, and it is ensured that the target application platform is in an activated state, so that the target application platform reads the target service data from the system clipboard.
Optionally, activating the target application platform based on the service transmission request includes: determining whether the target application platform is in an activated state; and if not, sending an activation instruction to a target application platform corresponding to the service transmission request based on a preset protocol to activate the target application platform.
When the target application platform is in an activated state, after the target business data are written into the system clipboard, the target business data stored in the system clipboard can be directly read so as to finish the transmission of the target business data. When the target application platform is in the inactive state, an activation instruction may be sent to the target application platform based on a preset protocol to activate the target application platform. It should be noted that, a person skilled in the art can set the preset protocol according to the actual application request. Illustratively, the predetermined protocol is "webprint://".
Optionally, determining whether the target application platform is in an active state includes: acquiring current state information of a browser end, and determining whether the current state information of the browser end is in an inactive state; if so, determining that the target application platform is in an activated state.
Specifically, when determining whether the target application platform is in an active state, the determination may be performed through current state information of the browser. It should be noted that the browser page changes its state to the inactive state after losing focus. When the target application platform is in an active state, the browser page is caused to lose focus even if the browser end is in an inactive state. Therefore, when the current state information of the browser end is in the inactive state, it indicates that the target application platform is currently in the active state; correspondingly, when the current state information of the browser end is in an active state, it indicates that the target application platform is currently in an inactive state.
Optionally, sending an activation instruction to the target application platform corresponding to the service transmission request based on a preset protocol to activate the target application platform, including: sending an authority request for acquiring the authority for awakening the target application platform to a user terminal; and when an authorization approval instruction fed back by the user terminal is received, sending an activation instruction to the target application platform based on a preset protocol to activate the target application platform.
Specifically, in order to improve the user experience, the authorization of the user needs to be acquired before the target application platform is activated. In a specific implementation, when it is determined that the target application platform is in an inactive state, an authority request may be sent to the user terminal to request to acquire an authority to wake up the target application platform.
Illustratively, the permission obtaining request operation can be performed by popping up a permission request dialog box on a display interface of the user terminal, wherein the dialog box is displayed with activation permission keys and activation rejection keys, the user feeds back authorization information by means of input device input or touch screen, and when the authorization information received by the user terminal is the authorization approval, the user terminal generates a corresponding authorization approval instruction and sends the authorization approval instruction to the browser terminal. And the browser end receives the authorization agreement instruction fed back by the user terminal and sends an activation instruction to the target application platform based on a preset protocol so as to activate the target application platform.
S203, the target application platform monitors the storage state of the system clipboard, and when the storage state is monitored to be updated to the target storage state, the target business data are read from the system clipboard.
Specifically, the target storage state is used to indicate that the target business data is stored in the system clipboard. The target application platform may periodically or in real-time monitor the storage status of the system clipboard. When the storage state of the system clipboard is updated to the target storage state, that is, the target business data is stored in the system clipboard, the target business data can be read from the system clipboard.
S204, acquiring state identifiers corresponding to all business data stored in a system clipboard; and determining the read service data corresponding to the read identification, and deleting each read service data.
Specifically, a status identifier may be set for each service data stored in the system clipboard, and the status identifier is used to indicate a read status of the service data. The status identifier includes a read identifier for indicating that the service data has been read by the client. Further, the status identifier may be set only for the read service data, that is, it is determined whether the service data has been read by the target application platform by determining whether the service data is set with the status identifier.
In the specific implementation, the state identifier corresponding to each service data stored in the system clipboard is obtained, the read service data corresponding to the read identifier is determined, and the read service data can be deleted in order to save the storage space occupied by the system clipboard.
Furthermore, the state identifiers corresponding to the business data stored in the system clipboard can be periodically acquired, and the read business data can be deleted in batch. And the state identifier corresponding to each service data stored in the system clipboard can be acquired in real time, and the newly added read service data is deleted.
The embodiment of the invention can activate the target application platform based on the service transmission request, the target application platform obtains the target service data in a mode of reading the system clipboard, the data volume of the service data does not influence the data transmission, and the browser end and the target application platform are ensured to effectively finish the data transmission. The activation state of the target user platform is determined through the current state information of the browser, and the target application platform is activated only after the permission is requested to be acquired, so that the user experience is improved. And moreover, the read business data stored in the system clipboard is deleted, so that the storage space is saved.
EXAMPLE III
The embodiment corresponding to the application communication method is described in detail above, and specific application scenarios are given below in order to make the technical solutions of the method further clear to those skilled in the art.
Fig. 3 is a flowchart of an application communication method in an application scenario according to an embodiment of the present invention; as shown in fig. 3, when a user clicks a button displayed in a browser interface for establishing a target task through mouse click or touch screen operation, the user terminal may generate a service transmission request correspondingly and send the service propagation request to the browser end.
Illustratively, the target service includes at least one of a reference file, a download file, an edit file, a favorite file, and a forward file, and the file may include at least one of a document, a picture, audio, and video. The user terminal comprises at least one of a mobile phone, a desktop computer and a tablet computer. The APP includes a document processing application, an image processing application, a communication application, an office application, and the like. For example, when the target service is a reference file, the corresponding APP may be Microsoft Office Word or PDF (Portable Document Format).
Further, when the browser receives a service transmission request sent by the user terminal, data can be written into the system clipboard. Illustratively, the service data includes a sequence of digits in JSON format. The digital sequence in the JSON format can be converted into a character string and then written into a system clipboard, and target business data are transmitted to a target application platform through the system clipboard.
Furthermore, after data are written into the system clipboard, whether the APP is activated or not can be judged, if the APP is activated, the APP can read the data stored in the system clipboard after monitoring that the data are written into the system clipboard, and therefore the data are transmitted to the APP from the browser end. When the APP is not activated, the data stored in the system clipboard can be read only after the APP is activated.
Specifically, the APP window activation may trigger the browser end to become the inactive state, and therefore, the current state of the APP may be determined by the current state of the browser end. When the browser end is in the inactive state, the APP can be determined to be activated, and the data in the system clipboard can be directly read. And when the current state of the browser end is the activated state, activating the APP. Before the operation is activated, the user needs to apply for the permission of activating the APP, so that the user experience is improved. If the user agrees to activate, activating the APP based on a preset custom protocol so that the APP reads data; exemplary, custom protocols include "webprint://". If the user refuses to activate, the data transmission fails; after the interval duration reaches the preset duration, the permission of activating the APP can be applied to the user again. And when the times of user rejection reach a preset threshold value, ending the data transmission process.
The embodiment of the invention can activate the target application platform based on the service transmission request, the target application platform obtains the target service data in a mode of reading the system clipboard, the data volume of the service data does not influence the data transmission, and the browser end and the target application platform are ensured to effectively finish the data transmission. The activation state of the target user platform is determined through the current state information of the browser, and the target application platform is activated only after the permission is requested to be acquired, so that the user experience is improved.
Example four
Fig. 4 is a block diagram of an application communication system according to an embodiment of the present invention, where the system is configured to execute an application communication method according to any of the above embodiments. The system and the application communication method of each embodiment belong to the same inventive concept, and details that are not described in detail in the embodiment of the application communication system may refer to the embodiment of the application communication method. As shown in fig. 4, the system may specifically include:
the browser end 10 is configured to receive a service transmission request sent by a user terminal and used for starting service transmission with a target application platform, determine target service data corresponding to the service transmission request, and write the target service data into a system clipboard;
and the target application platform 11 is used for reading the target business data from the system clipboard.
Optionally, the system further comprises:
and the activation module is used for activating the target application platform based on the service transmission request before the target application platform reads the target service data from the system clipboard.
Optionally, the activation module includes:
a state determining unit for determining whether the target application platform is in an active state; and if not, sending an activation instruction to a target application platform corresponding to the service transmission request based on a preset protocol to activate the target application platform.
Optionally, the determining the status unit includes:
the acquisition unit is used for acquiring the current state information of the browser end and determining whether the current state information of the browser end is in an inactive state; if so, determining that the target application platform is in an activated state.
Optionally, the determining the status unit includes:
the permission request unit is used for sending a permission request for acquiring the permission for awakening the target application platform to the user terminal; and when an authorization approval instruction fed back by the user terminal is received, sending an activation instruction to the target application platform based on a preset protocol to activate the target application platform.
Optionally, the target application platform 11 includes:
the monitoring unit is used for monitoring the storage state of the system clipboard, and reading target business data from the system clipboard when the storage state is updated to a target storage state; the target storage state is used for indicating that the target business data are stored in the system clipboard.
Optionally, the system further comprises:
the system comprises a deleting module, a state identification module and a state identification module, wherein the deleting module is used for acquiring the state identification corresponding to each service data stored in a system clipboard; the state identifier comprises a read identifier used for indicating that the service data is read by the client; and determining the read service data corresponding to the read identification, and deleting each read service data.
The application communication system provided by the embodiment of the invention can execute the following method: when a browser receives a service transmission request which is sent by a user terminal and used for starting service transmission with a target application platform, target service data corresponding to the service transmission request are determined, the target service data are written into a system clipboard, the target service data are stored through the system clipboard, and the target application platform reads the target service data from the system clipboard. Therefore, the target application platform obtains the target service data in a mode of reading the system clipboard, the data volume of the service data does not influence data transmission, and the browser end and the target application platform are ensured to effectively finish data transmission.
It should be noted that, in the embodiment of the application communication system, the included units and modules are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
EXAMPLE five
Fig. 5 is a structural diagram of an electronic device according to an embodiment of the present invention. FIG. 5 illustrates a block diagram of an exemplary electronic device 20 suitable for use in implementing embodiments of the present invention. The illustrated electronic device 20 is merely an example and should not be used to limit the functionality or scope of embodiments of the present invention.
As shown in fig. 5, the electronic device 20 is embodied in the form of a general purpose computing device. The components of the electronic device 20 may include, but are not limited to: one or more processors or processing units 201, a system memory 202, and a bus 203 that couples the various system components (including the system memory 202 and the processing unit 201).
The system memory 202 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)204 and/or cache memory 205. The electronic device 20 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, the storage system 206 may be used to read from and write to non-removable, nonvolatile magnetic media. A magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 203 by one or more data media interfaces. Memory 202 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 208 having a set (at least one) of program modules 207 may be stored, for example, in memory 202, such program modules 207 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 207 generally perform the functions and/or methodologies of embodiments of the present invention as described herein.
The electronic device 20 may also communicate with one or more external devices 209 (e.g., keyboard, pointing device, display 210, etc.), with one or more devices that enable a user to interact with the electronic device 20, and/or with any devices (e.g., network card, modem, etc.) that enable the electronic device 20 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 211. Also, the electronic device 20 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 212. As shown, the network adapter 212 communicates with other modules of the electronic device 20 over the bus 203. It should be understood that other hardware and/or software modules may be used in conjunction with electronic device 20, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 201 executes various functional applications and data processing by running a program stored in the system memory 202.
The electronic equipment provided by the invention can realize the following method: when a browser receives a service transmission request which is sent by a user terminal and used for starting service transmission with a target application platform, target service data corresponding to the service transmission request are determined, the target service data are written into a system clipboard, the target service data are stored through the system clipboard, and the target application platform reads the target service data from the system clipboard. Therefore, the target application platform obtains the target service data in a mode of reading the system clipboard, the data volume of the service data does not influence data transmission, and the browser end and the target application platform are ensured to effectively finish data transmission.
EXAMPLE six
An embodiment of the present invention provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method of application communication, the method comprising:
when a browser receives a service transmission request which is sent by a user terminal and used for starting service transmission with a target application platform, target service data corresponding to the service transmission request are determined, the target service data are written into a system clipboard, the target service data are stored through the system clipboard, and the target application platform reads the target service data from the system clipboard. Therefore, the target application platform obtains the target service data in a mode of reading the system clipboard, the data volume of the service data does not influence data transmission, and the browser end and the target application platform are ensured to effectively finish data transmission.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the application communication method provided by any embodiment of the present invention.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
1. An application communication method, comprising:
when a browser receives a service transmission request which is sent by a user terminal and used for starting service transmission with a target application platform, determining target service data corresponding to the service transmission request, and writing the target service data into a system clipboard;
and the target application platform reads the target business data from the system clipboard.
2. The method of claim 1, further comprising, before the target application platform reads the target business data from the system clipboard:
and activating the target application platform based on the service transmission request.
3. The method of claim 2, wherein activating the target application platform based on the service delivery request comprises:
determining whether the target application platform is in an activated state;
and if not, sending an activation instruction to a target application platform corresponding to the service transmission request based on a preset protocol so as to activate the target application platform.
4. The method of claim 3, wherein determining whether the target application platform is in an active state comprises:
acquiring current state information of the browser end, and determining whether the current state information of the browser end is in a non-activated state;
if so, determining that the target application platform is in an activated state.
5. The method according to claim 3, wherein the sending an activation instruction to a target application platform corresponding to the service transmission request based on a preset protocol to activate the target application platform comprises:
sending an authority request for acquiring the authority for awakening the target application platform to the user terminal;
and when an authorization approval instruction fed back by the user terminal is received, sending an activation instruction to the target application platform based on a preset protocol to activate the target application platform.
6. The method of claim 1, wherein the target application platform reading the target business data from the system clipboard comprises:
the target application platform monitors the storage state of the system clipboard, and reads the target business data from the system clipboard when the storage state is monitored to be updated to a target storage state;
the target storage state is used for indicating that the target business data is stored in the system clipboard.
7. The method of claim 1, further comprising:
acquiring state identifiers corresponding to all service data stored in the system clipboard; the state identifier comprises a read identifier used for indicating that the service data is read by the client;
and determining the read service data corresponding to the read identification, and deleting each read service data.
8. An application communication system, comprising:
the system comprises a browser end, a system clipboard and a service application platform, wherein the browser end is used for receiving a service transmission request which is sent by a user terminal and used for starting service transmission with a target application platform, determining target service data corresponding to the service transmission request and writing the target service data into the system clipboard;
and the target application platform is used for reading the target business data from the system clipboard.
9. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the application communication method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of application communication according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110919396.XA CN113656193A (en) | 2021-08-11 | 2021-08-11 | Application communication method, system, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110919396.XA CN113656193A (en) | 2021-08-11 | 2021-08-11 | Application communication method, system, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113656193A true CN113656193A (en) | 2021-11-16 |
Family
ID=78479490
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110919396.XA Pending CN113656193A (en) | 2021-08-11 | 2021-08-11 | Application communication method, system, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113656193A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114445922A (en) * | 2022-01-11 | 2022-05-06 | 中国第一汽车股份有限公司 | Secondary issuing method, device, equipment and storage medium for charging equipment |
CN115185714A (en) * | 2022-09-13 | 2022-10-14 | 天津联想协同科技有限公司 | Screenshot sharing method, device, terminal and storage medium |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020138653A1 (en) * | 2001-03-21 | 2002-09-26 | International Business Machines Corporation | Workstation system, computer, data transfer method, data editing method, computer program generation method, computer program and storage medium |
US20050066335A1 (en) * | 2003-09-23 | 2005-03-24 | Robert Aarts | System and method for exposing local clipboard functionality towards external applications |
US20080282180A1 (en) * | 2007-05-08 | 2008-11-13 | Jay Glasgow | Data Transfer Using A Network Clipboard |
US8171390B1 (en) * | 2009-10-22 | 2012-05-01 | Intuit Inc. | Method and system for viewing and transferring data between documents |
US20140025726A1 (en) * | 2012-07-23 | 2014-01-23 | Via Technologies, Inc. | Hardware resource accessing systems and methods for accessing hardware resources in browser-based operating systems and machine-readable storage medium thereof |
CN104899269A (en) * | 2015-05-26 | 2015-09-09 | 北京金山安全软件有限公司 | Method and device for accessing website link |
CN106897155A (en) * | 2016-08-29 | 2017-06-27 | 阿里巴巴集团控股有限公司 | A kind of method for showing interface and device |
EP3208713A1 (en) * | 2016-02-19 | 2017-08-23 | BlackBerry Limited | Sharing contents between applications |
CN107193666A (en) * | 2017-04-20 | 2017-09-22 | 北京安云世纪科技有限公司 | The control method and device called between application program |
US20180039385A1 (en) * | 2016-08-08 | 2018-02-08 | Microsoft Technology Licensing, Llc | Interacting with a Clipboard Store |
US20180181553A1 (en) * | 2016-12-28 | 2018-06-28 | Microsoft Technology Licensing, Llc | Providing insertion feature with clipboard manager application |
CN109086110A (en) * | 2018-07-03 | 2018-12-25 | 深圳鼎盛电脑科技有限公司 | A kind of display methods of business information, device, terminal and storage medium |
CN109213580A (en) * | 2017-07-07 | 2019-01-15 | 北京小米移动软件有限公司 | Using exchange method and device |
WO2019134980A1 (en) * | 2018-01-05 | 2019-07-11 | Laterpay Ag | Method for context-based selection and activation of applications on a mobile device |
CN111737024A (en) * | 2020-05-16 | 2020-10-02 | 中信银行股份有限公司 | Data transmission method and system based on clipboard |
-
2021
- 2021-08-11 CN CN202110919396.XA patent/CN113656193A/en active Pending
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020138653A1 (en) * | 2001-03-21 | 2002-09-26 | International Business Machines Corporation | Workstation system, computer, data transfer method, data editing method, computer program generation method, computer program and storage medium |
US20050066335A1 (en) * | 2003-09-23 | 2005-03-24 | Robert Aarts | System and method for exposing local clipboard functionality towards external applications |
US20080282180A1 (en) * | 2007-05-08 | 2008-11-13 | Jay Glasgow | Data Transfer Using A Network Clipboard |
US8171390B1 (en) * | 2009-10-22 | 2012-05-01 | Intuit Inc. | Method and system for viewing and transferring data between documents |
US20140025726A1 (en) * | 2012-07-23 | 2014-01-23 | Via Technologies, Inc. | Hardware resource accessing systems and methods for accessing hardware resources in browser-based operating systems and machine-readable storage medium thereof |
CN104899269A (en) * | 2015-05-26 | 2015-09-09 | 北京金山安全软件有限公司 | Method and device for accessing website link |
EP3208713A1 (en) * | 2016-02-19 | 2017-08-23 | BlackBerry Limited | Sharing contents between applications |
US20180039385A1 (en) * | 2016-08-08 | 2018-02-08 | Microsoft Technology Licensing, Llc | Interacting with a Clipboard Store |
CN106897155A (en) * | 2016-08-29 | 2017-06-27 | 阿里巴巴集团控股有限公司 | A kind of method for showing interface and device |
US20180181553A1 (en) * | 2016-12-28 | 2018-06-28 | Microsoft Technology Licensing, Llc | Providing insertion feature with clipboard manager application |
CN107193666A (en) * | 2017-04-20 | 2017-09-22 | 北京安云世纪科技有限公司 | The control method and device called between application program |
CN109213580A (en) * | 2017-07-07 | 2019-01-15 | 北京小米移动软件有限公司 | Using exchange method and device |
WO2019134980A1 (en) * | 2018-01-05 | 2019-07-11 | Laterpay Ag | Method for context-based selection and activation of applications on a mobile device |
CN109086110A (en) * | 2018-07-03 | 2018-12-25 | 深圳鼎盛电脑科技有限公司 | A kind of display methods of business information, device, terminal and storage medium |
CN111737024A (en) * | 2020-05-16 | 2020-10-02 | 中信银行股份有限公司 | Data transmission method and system based on clipboard |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114445922A (en) * | 2022-01-11 | 2022-05-06 | 中国第一汽车股份有限公司 | Secondary issuing method, device, equipment and storage medium for charging equipment |
CN115185714A (en) * | 2022-09-13 | 2022-10-14 | 天津联想协同科技有限公司 | Screenshot sharing method, device, terminal and storage medium |
CN115185714B (en) * | 2022-09-13 | 2023-01-31 | 天津联想协同科技有限公司 | Screenshot sharing method and device, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11838255B2 (en) | Mail processing method and apparatus, electronic device and storage medium | |
CN111177112A (en) | Database blocking method and device based on operation and maintenance management system and electronic equipment | |
CN113656193A (en) | Application communication method, system, electronic equipment and storage medium | |
US11758087B2 (en) | Multimedia conference data processing method and apparatus, and electronic device | |
CN112003712B (en) | Service processing method, electronic device and computer readable storage medium | |
CN106790350B (en) | Information pushing device, server and method | |
CN110704833A (en) | Data permission configuration method, device, electronic device and storage medium | |
CN110113246B (en) | Method for protecting conversation privacy | |
CN107733781B (en) | Instant messaging processing method, equipment and computer storage medium | |
CN113961836A (en) | Page jump method and device, electronic equipment and storage medium | |
CN107888478B (en) | Voice information forwarding method, device and storage medium in instant messaging process | |
CN111510499B (en) | Communication method, device, equipment and storage medium | |
CN112800410A (en) | Multi-product login management method, device, equipment and storage medium | |
CN112948138A (en) | Method and device for processing message | |
CN110737861A (en) | webpage data processing method, device, equipment and storage medium | |
CN110932966A (en) | Message processing method and device, computer storage medium and electronic equipment | |
CN113079085B (en) | Business service interaction method, business service interaction device, business service interaction equipment and storage medium | |
CN111124627A (en) | Method, device, terminal and storage medium for determining application program caller | |
CN112416455A (en) | Data processing method, device, terminal and storage medium | |
CN112131832A (en) | Method and device for reminding task state of online document and electronic equipment | |
CN106790428B (en) | Data transmission method and device | |
CN110262756B (en) | Method and device for caching data | |
CN116521630B (en) | Task progress real-time display method and device, computer equipment and storage medium | |
CN115134322B (en) | File secure transmission method and device, cloud mobile phone platform and storage medium | |
CN109669737B (en) | Application processing method, device, equipment and medium |
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 |