CN113312193A - Method and device for transmitting information - Google Patents
Method and device for transmitting information Download PDFInfo
- Publication number
- CN113312193A CN113312193A CN202110646846.2A CN202110646846A CN113312193A CN 113312193 A CN113312193 A CN 113312193A CN 202110646846 A CN202110646846 A CN 202110646846A CN 113312193 A CN113312193 A CN 113312193A
- Authority
- CN
- China
- Prior art keywords
- application
- data
- target
- identifier
- attribute set
- 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 104
- 230000004044 response Effects 0.000 claims abstract description 32
- 230000005540 biological transmission Effects 0.000 claims abstract description 25
- 230000008859 change Effects 0.000 claims abstract description 14
- 230000006870 function Effects 0.000 claims description 149
- 238000012544 monitoring process Methods 0.000 claims description 121
- 238000004891 communication Methods 0.000 claims description 32
- 230000015654 memory Effects 0.000 claims description 17
- 230000001960 triggered effect Effects 0.000 claims description 15
- 238000010586 diagram Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 6
- 238000004590 computer program Methods 0.000 description 5
- 238000011161 development Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 230000008571 general function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 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/547—Remote procedure calls [RPC]; Web services
-
- 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/546—Message passing systems or structures, e.g. queues
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/54—Indexing scheme relating to G06F9/54
- G06F2209/544—Remote
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 application discloses a method and a device for transmitting information, and relates to the technical field of computers. The method comprises the following steps: acquiring an application attribute set of a second application aiming at each second application in at least one second application, wherein the application attribute set comprises an identifier of the second application and data information of the second application; responding to the monitored change of the data information in the application attribute set, and determining whether the data type in the changed data information represents that the target data in the changed data information is the data of the object type; in response to determining that the data type representation target data is data of an object type, acquiring an identifier of a target second application from an application attribute set to which the target data belongs; and sending the target data to the target second application according to the identification of the target second application. The method can improve the efficiency of information transmission and reduce the cost of information transmission.
Description
Technical Field
The present disclosure relates to the field of computer technology, and in particular, to a method and apparatus for transmitting information.
Background
In the micro front-end architecture, a plurality of sub-applications can be merged into one base application, and the plurality of sub-applications can be independently developed, independently run and independently deployed in the base application. Data transmission is required between the sub-applications and the base application or between the sub-applications in the micro front-end architecture, so that the application composed of the sub-applications and the base application can realize corresponding functions.
The existing method for data transmission between the sub-application and the base or between the sub-applications is as follows: the data transmission is performed manually or the base application sends the data received/locally generated by the base application to the global sub-application on the base application so that the target sub-application receives the data.
However, the method of manually transmitting data has a problem of low data transmission efficiency; the method of sending data by the base application to the global sub-application thereon so that the target sub-application receives the data has a problem of wasting communication resources.
Disclosure of Invention
The present disclosure provides a method, an apparatus, an electronic device, and a computer-readable storage medium for transmitting information.
According to a first aspect of the present disclosure, there is provided a method for transmitting information, applied to a first application, comprising: acquiring an application attribute set of a second application aiming at each second application in at least one second application, wherein the application attribute set comprises an identifier of the second application and data information of the second application; responding to the monitored change of the data information in the application attribute set, and determining whether the data type in the changed data information represents that the target data in the changed data information is the data of the object type; in response to determining that the data type representation target data is data of an object type, acquiring an identifier of a target second application from an application attribute set to which the target data belongs; and sending the target data to the target second application according to the identification of the target second application.
In some embodiments, the application attribute set further includes an address of the second application, and the method includes: acquiring display information of the second application according to the address of the second application; and displaying the display information of the second application in the display interface of the first application.
In some embodiments, a method for transmitting information comprises: and receiving data sent by the second application based on the preset event in response to monitoring the preset event.
In some embodiments, obtaining the identifier of the target second application from the application attribute set to which the target data belongs includes: in response to monitoring an instruction for characterizing data transmission to the global second applications, acquiring an identifier of each second application from the application attribute set of each second application; sending the target data to the target second application according to the identifier of the target second application, including: and sending the target data to each second application according to the identification of each second application.
In some embodiments, the first application is communicatively connected to a data center, the data center includes an attribute monitoring function for monitoring a change of an application attribute set, and in response to monitoring that data information in the application attribute set changes, the method includes: responding to the received message sent by the data center and used for representing the triggering of the attribute monitoring function; sending the target data to the target second application according to the identifier of the target second application, including: and sending the target data to the target second application through the data center according to the identification of the target second application.
According to a second aspect of the present disclosure, there is provided a method for transmitting information, applied to a second application, comprising: receiving target data sent by a first application; after determining that the data type representation target data is data of an object type, the first application acquires an identifier of the second application from an application attribute set to which the target data belongs, and sends the target data according to the identifier of the second application; when monitoring that the data information in the application attribute set changes, the first application determines whether target data in the changed data information is data of an object type; the first application comprises an application attribute set of each of the at least one second application, and the application attribute set comprises an identifier of the second application and data information of the second application.
In some embodiments, the second application is communicatively connected to a data center, the data center includes a listening function corresponding to the second application, and receiving the target data sent by the first application includes: the target data is received based on a snoop function corresponding to the second application.
In some embodiments, a method for transmitting information comprises: in response to detecting the instruction to characterize to stop listening for the data, an instruction is sent to the data center to instruct a listening function corresponding to the second application to stop listening for the data.
According to a third aspect of the present disclosure, there is provided a method for transmitting information, which is applied to a data center, the data center is in communication connection with a first application, and the data center is in communication connection with at least one second application, the data center includes: the attribute monitoring function is used for monitoring an application attribute set in a first application, and at least one monitoring function respectively corresponding to at least one second application, and the method comprises the following steps: sending a triggering message for representing that an attribute monitoring function is triggered to the first application in response to monitoring that data information in an application attribute set in the first application is changed; receiving an identifier of a target second application returned by the first application based on the trigger message and target data of a trigger attribute monitoring function; determining a target monitoring function corresponding to the target second application from the at least one monitoring function according to the identifier of the target second application; and transmitting the target data to the target second application through the target listening function.
In some embodiments, a method for transmitting information comprises: and in response to receiving the message for representing that the preset second application is unloaded from the first application, terminating the monitoring operation of the monitoring function corresponding to the preset second application.
According to a fourth aspect of the present disclosure, there is provided an apparatus for transmitting information, applied to a first application, including: the first obtaining unit is configured to obtain an application attribute set of the second application for each of at least one second application, wherein the application attribute set comprises an identifier of the second application and data information of the second application; the judging unit is configured to respond to the fact that the monitored data information in the application attribute set changes, and determine whether the data type in the changed data information represents that target data in the changed data information is data of an object type; the second acquisition unit is used for acquiring the identifier of the target second application from the application attribute set to which the target data belongs in response to the fact that the data type representation target data is the data of the object type; and the first sending unit is configured to send the target data to the target second application according to the identification of the target second application.
In some embodiments, the set of application attributes further includes an address of the second application, and the means for transferring information includes: the third acquisition unit is configured to acquire the display information of the second application according to the address of the second application; the display unit is configured to display the display information of the second application in the display interface of the first application.
In some embodiments, an apparatus for transmitting information comprises: and the monitoring unit is configured to respond to monitoring the preset event and receive data transmitted by the second application based on the preset event.
In some embodiments, the second obtaining unit includes: the acquisition module is configured to respond to the instruction for representing the data transmission to the global second application, and acquire the identification of each second application from the application attribute set of each second application; a first transmission unit comprising: and the first sending module is configured to send the target data to each second application according to the identification of each second application.
In some embodiments, the first application is communicatively connected to a data center, the data center includes an attribute monitoring function for monitoring changes of the application attribute set, and the determining unit includes: the judging module is configured to respond to the received message which is sent by the data center and used for representing that the attribute monitoring function is triggered; a first transmission unit comprising: and the second sending module is configured to send the target data to the target second application according to the identifier of the target second application through the data center.
According to a fifth aspect of the present disclosure, there is provided an apparatus for transmitting information, applied to a second application, including: a first receiving unit configured to receive target data transmitted by a first application; after determining that the data type representation target data is data of an object type, the first application acquires an identifier of the second application from an application attribute set to which the target data belongs, and sends the target data according to the identifier of the second application; when monitoring that the data information in the application attribute set changes, the first application determines whether target data in the changed data information is data of an object type; the first application comprises an application attribute set of each of the at least one second application, and the application attribute set comprises an identifier of the second application and data information of the second application.
In some embodiments, the second application is communicatively connected to a data center, the data center includes a listening function corresponding to the second application, and the first receiving unit includes: and the first receiving module is used for receiving the target data based on the monitoring function corresponding to the second application.
In some embodiments, a method for transmitting information comprises: and the termination monitoring unit is configured to respond to the detection of the instruction for representing the stop of monitoring the data, and send an instruction for instructing a monitoring function corresponding to the second application to stop monitoring the data to the data center.
According to a sixth aspect of the present disclosure, there is provided an apparatus for transmitting information, which is applied to a data center, the data center is in communication connection with a first application, and the data center is in communication connection with at least one second application, the data center includes: the attribute monitoring function is used for monitoring an application attribute set in a first application, and at least one monitoring function respectively corresponding to at least one second application, and the device comprises: the second sending unit is configured to respond to the monitored change of the data information in the application attribute set in the first application, and send a trigger message for representing that the attribute monitoring function is triggered to the first application; the second receiving unit is configured to receive the identifier of the target second application returned by the first application based on the trigger message and target data of the trigger attribute monitoring function; the determining unit is configured to determine a target monitoring function corresponding to the target second application from the at least one monitoring function according to the identifier of the target second application; and the parameter writing unit is configured to transmit the target data to the target second application through the target listening function.
In some embodiments, a method for transmitting information comprises: a removing unit configured to terminate a listening operation of a listening function corresponding to a preset second application in response to receiving a message for characterizing that the preset second application is uninstalled from the first application.
According to a seventh aspect of the present disclosure, an embodiment of the present disclosure provides an electronic device, including: one or more processors: storage means for storing one or more programs which, when executed by one or more processors, cause the one or more processors to implement the method for transmitting information as provided in the first aspect, or to implement the method for transmitting information as provided in the second aspect, or to implement the method for transmitting information as provided in the third aspect.
According to an eighth aspect of the present disclosure, embodiments of the present disclosure provide a computer readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements a method for transmitting information as provided by the first aspect, or implements a method for transmitting information as provided by the second aspect, or implements a method for transmitting information as provided by the third aspect.
The method and the device for transmitting information provided by the disclosure comprise the following steps: the method comprises the steps that a first application acquires an application attribute set of a second application aiming at each second application in at least one second application, wherein the application attribute set comprises an identifier of the second application and data information of the second application; responding to the monitored change of the data information in the application attribute set, and determining whether the data type in the changed data information represents that the target data in the changed data information is the data of the object type; in response to determining that the data type representation target data is data of an object type, acquiring an identifier of a target second application from an application attribute set to which the target data belongs; and sending the target data to the target second application according to the identification of the target second application. The information transmission efficiency can be improved and the information transmission cost can be reduced.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
FIG. 1 is an exemplary system architecture diagram in which embodiments of the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for transmitting information according to the present application;
FIG. 3 is a flow diagram of another embodiment of a method for transmitting information according to the present application;
FIG. 4 is a flow diagram for one embodiment of a method for transmitting information, in accordance with the present application;
FIG. 5 is a flow diagram for one embodiment of a method for transmitting information, in accordance with the present application;
FIG. 6 is a flow chart of an application scenario of a method for transmitting information according to the present application;
FIG. 7 is an architecture diagram of a system for transmitting information in one application scenario of a method for transmitting information according to the present application;
FIG. 8 is a schematic block diagram illustrating one embodiment of an apparatus for communicating information in accordance with the present application;
FIG. 9 is a schematic block diagram illustrating one embodiment of an apparatus for communicating information in accordance with the present application;
FIG. 10 is a schematic block diagram illustrating one embodiment of an apparatus for communicating information in accordance with the present application;
fig. 11 is a block diagram of an electronic device for implementing a method for transmitting information according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 shows an exemplary system architecture 100 to which embodiments of the method for transmitting information or the apparatus for transmitting information of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include second applications 101, 102, 103, a network 104, and a first application 105. The network 104 serves as a medium for providing communication links between the second applications 101, 102, 103 and the first application 105. Network 104 may include various connection types or communication protocols, such as wired, wireless communication links, or fiber optic cables, among others.
The second application 101, 102, 103 interacts with the first application 105 over the network 104 to receive or send messages or the like. The second application 101, 102, 103 may be a sub-application in a micro front-end architecture. The second application 105 may be a base application in a micro front end architecture.
The first application can acquire an application attribute set of at least one second application aiming at each second application, wherein the application attribute set comprises an identifier of the second application and data information of the second application; if the first application monitors that the data information in the application attribute set changes, judging whether the data type in the changed data information represents that the target data in the data information is the data of the object type; if the data type in the changed data information is determined to represent that the target data in the data information is the data of the object type, acquiring the identifier of the target second application from the application attribute set to which the target data belongs; and the first application sends the target data to the target second application according to the identification of the target second application.
It should be noted that the method for transmitting information provided by the embodiment of the present disclosure may be executed by the first application 105, and accordingly, the apparatus for transmitting information may be disposed in the first application 105.
It should be understood that the number of first applications, networks and second applications in fig. 1 is merely illustrative. There may be any number of first applications, networks, and second applications, as desired for implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a method for transmitting information in accordance with the present disclosure is shown, applied to a first application, comprising the steps of:
In the present embodiment, an execution subject of the method for transmitting information (e.g., the first application 105 shown in fig. 1) may acquire, for each of at least one second application, an application attribute set of the second application. The application attribute set of each second application may include an application identifier of the second application and data information of the second application, and the data information includes data and a data type of the data, for example, an application attribute set of a certain second application may be { application identifier, data information (data, data type) }.
In this embodiment, if the first application monitors that the data information in the application attribute set changes, it is determined whether a data type in the changed data information represents whether target data in the changed data information is data of an object type, where the data of the object type is an array, a function, or a method in an application program.
It should be noted that, the data in the data information in the application attribute set of the second application is data that a sender (the sender may be the first application or another terminal or device) intends to send to the second application, that is, if the sender intends to send data to a certain second application, the data that is intended to be sent is written into the data information in the application attribute set of the certain second application. After new data is written in the data information in the application attribute set, the data information will change, and the application attribute set will change.
In this embodiment, if the first application determines that the data type in the data information in the changed application attribute set and the data representing the data in the data information is the data of the object type, the identifier of the target second application may be obtained from the application attribute set to which the target data belongs. Because the application attribute set of each second application comprises the identifier and the data information of the second application, and the data information comprises the written data and the data type, the data information and the application attribute set to which the second application belongs can be determined according to the data, and the identifier of the target second application can be obtained from the determined application attribute set.
And step 204, sending the target data to the target second application according to the identifier of the target second application.
In this embodiment, the first application may send the target data to the target second application according to the identifier of the target second application.
In the method for transmitting information provided by this embodiment, a first application acquires, for each of at least one second application, an application attribute set of the second application, where the application attribute set includes an identifier of the second application and data information of the second application; responding to the monitored change of the data information in the application attribute set, and determining whether the data type in the changed data information represents that the target data in the changed data information is the data of the object type; in response to determining that the data type representation target data is data of an object type, acquiring an identifier of a target second application from an application attribute set to which the target data belongs; according to the identification of the target second application, the target data is sent to the target second application, when the first application monitors that the data information in the application attribute set changes, the data can be automatically sent to the second application corresponding to the changed data information, the data sending efficiency is improved, and the data is only sent to the second application corresponding to the changed data information, so that the pertinence of the data sending is improved, and the waste of communication resources is avoided.
Optionally, the application attribute set further includes an address of the second application, and the method includes: acquiring display information of the second application according to the address of the second application; and displaying the display information of the second application in the display interface of the first application.
In this embodiment, each application attribute set of the second application further includes an address of the second application, and the presentation information of the second application may be acquired from a page or a storage unit indicated by the address of the second application, and is presented in the presentation interface of the first application, so as to implement loading of the second application in the first application.
Optionally, the method for transmitting information includes: and receiving data sent by the second application based on the preset event in response to monitoring the preset event.
In this embodiment, if the first application monitors the preset event, the data sent by the second application based on the preset event may be received. The preset event may be an event stored in the first application or an event included in an application attribute set stored in the first application. The first application may perform data processing based on data received from the respective second applications, so that the first application and the respective second applications may jointly process traffic or provide services to a user.
With continued reference to fig. 3, a flow 300 of another embodiment of a method for transmitting information in accordance with the present disclosure is shown, applied to a first application, comprising the steps of:
In this embodiment, the descriptions of step 301 and step 302 are the same as the descriptions of step 201 and step 202, and are not repeated here.
In this embodiment, if the first application determines that the data type in the changed data information and the target data in the data information representing the changed data are data of an object type, and the first application monitors an instruction for sending data to the global second application, the first application may obtain an identifier of each second application from each application attribute set. The instruction for sending data to the global second application may be an instruction generated by the first application, an instruction sent by the user to the first application through the terminal device, or an instruction sent by any second application to the first application.
And step 304, sending the target data to each second application according to the identification of each second application.
In this embodiment, the first application may send the target data to each of the second applications according to the identifier of each of the second applications.
Compared with the embodiment described in fig. 2, after the first application monitors the instruction for characterizing data transmission to the global second application, the method for transmitting information according to the embodiment obtains the identifier of each second application from the application attribute set of each second application, and transmits the target data to the global second application based on the identifier of each second application, so that the flexibility of transmitting data by the first application and the second application can be improved, and the diversity of transmission modes of transmitting data by the first application to the second application can be enriched.
In some optional implementations of the embodiments described above in conjunction with fig. 2 and fig. 3, the first application is communicatively connected to a data center, and the data center includes an attribute monitoring function for monitoring a change of the application attribute set, and in response to monitoring that the data information in the application attribute set changes, the method includes: responding to the received message sent by the data center and used for representing the triggering of the attribute monitoring function; sending the target data to the target second application according to the identifier of the target second application, including: and sending the target data to the target second application through the data center according to the identification of the target second application.
In this embodiment, there is a communication connection between the first application and the data center, and the first application and the second application can communicate through the data center. The data center comprises an attribute monitoring function, the attribute monitoring function of the data center can be bound/associated with the first application and is used for monitoring the change of the application attribute set in the first application, and when the first application receives a message which is sent by the data center and used for representing that the attribute monitoring function is triggered, the attribute monitoring function monitors that the data information in the application attribute set is changed. If the first application determines that the data type in the changed data information and the target data in the data information representing the change are data of the object type, the identifier of the target second application in the set can be acquired from the application attribute set to which the target data belongs.
The first application can send the target data in the changed data information and the identifier of the target second application to the data center, so that the target data can be sent to the target second application through the data center according to the identifier of the target second application.
In this embodiment, the first application is in communication connection with the data center, and monitors whether data information in an application attribute set in the first application changes or not by using an attribute monitoring function in the data center, and sends target data in the changed data information to a corresponding second application based on the data center, so that functions such as data monitoring and data transmission can be implemented through the data center, general functions of the first application are reduced, the first application can be focused on main functions or services of the first application, and realization of componentized operation, development and maintenance of the first application is facilitated.
With continuing reference to fig. 4, a flow 400 of one embodiment of a method for transmitting information in accordance with the present disclosure is shown, as applied to a second application, comprising the steps of:
In this embodiment, an execution subject of the method for transmitting information (e.g., the second applications 101, 102, and 103 shown in fig. 1) may receive target data sent by the first application, where a method for the first application to send the target data to the second application is the same as the method in the embodiment described in fig. 2 and fig. 3, and is not described again here.
In the method for transmitting information provided by this embodiment, a first application acquires, for each of at least one second application, an application attribute set of the second application, where the application attribute set includes an identifier of the second application and data information of the second application; responding to the monitored change of the data information in the application attribute set, and determining whether the data type in the changed data information represents that the target data in the changed data information is the data of the object type; in response to determining that the data type representation target data is data of an object type, acquiring an identifier of a target second application from an application attribute set to which the target data belongs; according to the identification of the target second application, the target data is sent to the target second application, when the first application monitors that the data information in the application attribute set changes, the data can be automatically sent to the second application corresponding to the changed data information, the data sending efficiency is improved, and the data is only sent to the second application corresponding to the changed data information, so that the pertinence of the data sending is improved, and the waste of communication resources is avoided.
Optionally, the second application is in communication connection with a data center, where the data center includes a listening function corresponding to the second application, and receives target data sent by the first application, where the receiving includes: the target data is received based on a snoop function corresponding to the second application.
In this embodiment, a communication connection exists between the second application and the data center, the second application and the first application may communicate through the data center, the data center includes a listening function corresponding to each second application, and the listening function corresponding to the second application may be a listening function bound to the second application, and is used to listen whether the second application needs to send data to the first application, and is used to transmit data sent by the first application to the second application.
In this embodiment, the second application performs data transmission with the first application based on a listening function corresponding to the second application in the data center, and functions such as data listening and data transmission can be implemented through the data center, so that the common functions of the second application are reduced, the second application can be concentrated on its main functions or services, and it is beneficial to implement componentized operation and development and maintenance of the second application.
Optionally, the method for transmitting data further comprises: in response to detecting the instruction to characterize to stop listening for the data, an instruction is sent to the data center to instruct a listening function corresponding to the second application to stop listening for the data.
In this embodiment, if the second application detects an instruction for characterizing stop of listening to data, the second application may send the instruction for stopping listening to data to the data center, so that a listening function in the data center corresponding to the second application stops listening to/receiving data sent by the first application to the second application, or stops listening to/receiving data sent by the second application to the first application. The instruction for characterizing to stop listening to the data may be an instruction sent by a user, or may be an instruction generated after the second application receives the uninstalling instruction.
In this embodiment, the second application may release the binding with the corresponding snoop function in the data center to stop data transceiving with the first application, so that flexibility of data transceiving of the second application may be improved.
With continuing reference to fig. 5, a flow 500 of one embodiment of a method for communicating information in accordance with the present disclosure is illustrated as applied to a data center communicatively coupled to a first application and communicatively coupled to at least one second application, the data center including: the method comprises the following steps of monitoring an attribute monitoring function of an application attribute set in a first application and at least one monitoring function corresponding to at least one second application respectively:
In this embodiment, there is a communication connection between the data center and the first application, and there is a communication connection between the data center and at least one second application. The data center comprises an attribute monitoring function, the attribute monitoring function is used for monitoring an application attribute set of the first application, the data center comprises at least one monitoring function corresponding to each second application, and the monitoring function is used for monitoring data sent to the first application by the corresponding second application and data sent to the second application by the first application.
When an execution main body of the method for transmitting information monitors that data information in an application attribute set in a first application is changed, a trigger message used for representing that an attribute monitoring function is triggered is sent to the first application, so that the first application monitors that the data information in the application attribute set is changed, and after the first application determines that the data type in the changed data information and target data in the changed data information are data of an object type, an identifier of a target second application is obtained from the application attribute set to which the target data belongs.
In this embodiment, the data center receives an identifier of a target second application returned by the first application based on the trigger message, and target data that triggers the attribute monitoring function (when data in certain data information changes, an application attribute set to which the changed data belongs changes, and the attribute monitoring function is triggered).
In this embodiment, the data center may determine, according to the identifier of the target second application, a snoop function corresponding to the identifier of the target second application from the snoop functions in the data center corresponding to each second application, where the snoop function corresponding to the identifier of the target second application is the target snoop function corresponding to/bound to the target second application.
In this embodiment, the data center may use the target data as a parameter in the target listening function, so as to transmit the target data, which is transmitted from the first application to the target second application, to the target second application through the target listening function.
In the method for transmitting data provided by this embodiment, a data center monitors that data information in an application attribute set in a first application changes, and sends a trigger message for representing that an attribute monitoring function is triggered to the first application; receiving an identifier of a target second application returned by the first application based on the trigger message and target data of a trigger attribute monitoring function; determining a target monitoring function corresponding to the target second application from the at least one monitoring function according to the identifier of the target second application; and target data are transmitted to the target second application through the target monitoring function, so that the data transmission efficiency and the data transmission pertinence can be improved.
In addition, the functions of data monitoring, data transmission and the like between the first application and the second application can be realized through the data center, the general functions of the first application and the second application are reduced, the first application and the second application can be concentrated on the main functions or services of the first application and the second application, and the componentization operation, the development and the maintenance of the first application and the second application are favorably realized.
Optionally, the method for transmitting data includes: and in response to receiving the message for representing that the preset second application is unloaded from the first application, terminating the monitoring operation of the monitoring function corresponding to the preset second application.
In this embodiment, after the data center receives the message indicating that the preset second application has been unloaded from the first application, the data center may terminate the listening operation of the listening function corresponding to the second application that has been unloaded, so as to prevent the listening function in the data center from continuing the data listening operation on the second application that has been unloaded from the first application, and save communication and system resources. Wherein terminating the data snoop operation can be achieved by unbinding the snoop function from the second application, can be achieved by offloading the corresponding snoop function from the data center, and so on.
In some application scenarios, the first application may be a base application in a micro-front-end architecture, the plurality of second applications may be a plurality of sub-applications in the micro-front-end architecture, and the data center may be configured to provide communication services for the base application among the plurality of sub-applications.
As shown in fig. 6, the data transfer between the base application and the sub-application may include the steps of:
The data center comprises a publish-subscribe system and a data cache center, wherein the publish-subscribe system can bind the monitor function corresponding to the base application and the sub-application based on the identifier of the sub-application. The published data may be firstly buffered in the data buffer center, and when the publish-subscribe system receives a new subscription (for example, the base application subscribes to data of a certain sub-application so as to receive data published by the certain sub-application, or the sub-application subscribes to data of the base application so as to receive data published by the base application), the cached data in the data cache may be sent to a receiver of the new subscription, so as to implement a function of subscribing data after publishing, and avoid loss or omission of data.
In step 604, the sub-application binds to the corresponding listening function by the identifier: and the sub-application monitors the data issued by the base application through the monitoring function corresponding to the sub-application.
At step 606, the attribute listening function listens for application attribute changes for elements (i.e., application attribute sets) of the child applications in the base application. If the attribute listening function detects that the attribute in the base application has changed, step 607 is executed.
Step 609, judging whether the data type in the changed data information indicates that the data type of the changed target data is the object type, if so, executing step 610, otherwise, executing the operation indicated by the changed attribute.
In this application scenario, the way for the sub-application to publish data to the base application may include: publishing data to the base application through a publishing and subscribing system in the data center based on the identifier of the sub-application; or, defining a preset event based on a method for creating a custom event carried by a browser, writing release data into the data attribute of the custom event object, and sending the custom event based on the identifier of the sub-application, so that the base application receives the release data of the sub-application corresponding to the identifier.
In this application scenario, the manner in which the base application listens for data from the sub-application may include: the base application receives data published by the sub-applications through a publishing and subscribing system in the data center based on the identifiers of the sub-applications; alternatively, the base application may receive data sent by the sub-application by monitoring a customized preset event in an element of the sub-application.
In the application scenario, a system structure composed of a base application, each sub-application, and a data center is shown in fig. 7, where in fig. 7, the data center includes a sub-application data communication channel, the sub-application data communication channel serves to issue data from the base application to the sub-application, perform data processing on the data issued from the base application to the sub-application, perform snoop function query (search for a snoop function corresponding to the sub-application based on an identifier of the sub-application), and execute the snoop function of the sub-application (transmit data to the sub-application based on the snoop function of the sub-application); the sub-application data communication channel also serves data publishing by the sub-application to the base application, performs data processing on the data published by the sub-application to the base application, queries for a snoop function, and executes the snoop function of the sub-application (transfers data to the base application based on the snoop function of the sub-application).
The data center also comprises a global data communication channel which is used for triggering a global monitoring function after data processing is carried out on the data issued by the base application or the sub-application, so that the global sub-application or the base application receives the data.
The data center also includes a function of unbinding between the snoop function and the sub-application or the base application, a function of unloading or clearing the snoop function, a function of subscribing data or automatically unbinding the corresponding snoop function after the sub-application is unloaded, and the like.
With further reference to fig. 8, as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an apparatus for transmitting information, which corresponds to the method embodiments shown in fig. 2 and 3, and which is particularly applicable to various electronic devices.
As shown in fig. 8, the apparatus 800 for transmitting information of the present embodiment, applied to a first application, includes: a first acquisition unit 801, a determination unit 802, a second acquisition unit 803, and a first transmission unit 804. The first obtaining unit is configured to obtain, for each of at least one second application, an application attribute set of the second application, where the application attribute set includes an identifier of the second application and data information of the second application; the judging unit is configured to respond to the fact that the monitored data information in the application attribute set changes, and determine whether the data type in the changed data information represents that target data in the changed data information is data of an object type; the second acquisition unit is used for acquiring the identifier of the target second application from the application attribute set to which the target data belongs in response to the fact that the data type representation target data is the data of the object type; and the first sending unit is configured to send the target data to the target second application according to the identification of the target second application.
In some embodiments, the set of application attributes further includes an address of the second application, and the means for transferring information includes: the third acquisition unit is configured to acquire the display information of the second application according to the address of the second application; the display unit is configured to display the display information of the second application in the display interface of the first application.
In some embodiments, an apparatus for transmitting information comprises: and the monitoring unit is configured to respond to monitoring the preset event and receive data transmitted by the second application based on the preset event.
In some embodiments, the second obtaining unit includes: the acquisition module is configured to respond to the instruction for representing the data transmission to the global second application, and acquire the identification of each second application from the application attribute set of each second application; a first transmission unit comprising: and the first sending module is configured to send the target data to each second application according to the identification of each second application.
In some embodiments, the first application is communicatively connected to a data center, the data center includes an attribute monitoring function for monitoring changes of the application attribute set, and the determining unit includes: the judging module is configured to respond to the received message which is sent by the data center and used for representing that the attribute monitoring function is triggered; a first transmission unit comprising: and the second sending module is configured to send the target data to the target second application according to the identifier of the target second application through the data center.
The units in the apparatus 800 described above correspond to the steps in the method described with reference to fig. 2 and 3. Thus, the operations, features and technical effects that can be achieved by the above-described method for generating information are also applicable to the apparatus 800 and the units included therein, and are not described herein again.
With further reference to fig. 9, as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an apparatus for transmitting information, which corresponds to the method embodiment shown in fig. 4, and which is particularly applicable to various electronic devices.
As shown in fig. 9, the apparatus 900 for transmitting information of the present embodiment, applied to a second application, includes: a first receiving unit 901. The first receiving unit is configured to receive target data sent by a first application; after determining that the data type representation target data is data of an object type, the first application acquires an identifier of the second application from an application attribute set to which the target data belongs, and sends the target data according to the identifier of the second application; when monitoring that the data information in the application attribute set changes, the first application determines whether target data in the changed data information is data of an object type; the first application comprises an application attribute set of each of the at least one second application, and the application attribute set comprises an identifier of the second application and data information of the second application.
In some embodiments, the second application is communicatively connected to a data center, the data center includes a listening function corresponding to the second application, and the first receiving unit includes: and the first receiving module is used for receiving the target data based on the monitoring function corresponding to the second application.
In some embodiments, a method for transmitting information comprises: and the termination monitoring unit is configured to respond to the detection of the instruction for representing the stop of monitoring the data, and send an instruction for instructing a monitoring function corresponding to the second application to stop monitoring the data to the data center.
The units in the apparatus 900 described above correspond to the steps in the method described with reference to fig. 4. Thus, the operations, features and technical effects that can be achieved by the above described methods for generating information are also applicable to the apparatus 900 and the units included therein, and are not described herein again.
With further reference to fig. 10, as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an apparatus for transmitting information, which corresponds to the method embodiment shown in fig. 5, and which is particularly applicable to various electronic devices.
As shown in fig. 10, the apparatus 1000 for transmitting information according to the present embodiment is applied to a data center, the data center is connected to a first application in a communication manner, and the data center is connected to at least one second application in a communication manner, and the data center includes: the attribute monitoring function is used for monitoring an application attribute set in a first application, and at least one monitoring function respectively corresponding to at least one second application, and the device comprises: second transmitting section 1001, second receiving section 1002, determining section 1003, and parameter writing section 1004. The second sending unit is configured to send a trigger message for representing that the attribute monitoring function is triggered to the first application in response to monitoring that the data information in the application attribute set in the first application is changed; the second receiving unit is configured to receive the identifier of the target second application returned by the first application based on the trigger message and target data of the trigger attribute monitoring function; the determining unit is configured to determine a target monitoring function corresponding to the target second application from the at least one monitoring function according to the identifier of the target second application; and the parameter writing unit is configured to transmit the target data to the target second application through the target listening function.
In some embodiments, a method for transmitting information comprises: a removing unit configured to terminate a listening operation of a listening function corresponding to a preset second application in response to receiving a message for characterizing that the preset second application is uninstalled from the first application.
The units in the apparatus 1000 described above correspond to the steps in the method described with reference to fig. 5. Thus, the operations, features and technical effects that can be achieved by the above described method for generating information are also applicable to the apparatus 1000 and the units included therein, and are not described herein again.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
As shown in fig. 11, a block diagram of an electronic device 1100 for a method of transmitting information according to an embodiment of the application is shown. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 11, the electronic apparatus includes: one or more processors 1101, a memory 1102, and interfaces for connecting the various components, including a high speed interface and a low speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 11, a processor 1101 is taken as an example.
The memory 1102 is a non-transitory computer readable storage medium as provided herein. Wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method for transmitting information provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the method for transmitting information provided by the present application.
The memory 1102, which is a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the method for transmitting information in the embodiment of the present application (for example, the first acquiring unit 801, the determining unit 802, the second acquiring unit 803, and the first transmitting unit 804 shown in fig. 8). The processor 1101 executes various functional applications of the server and data processing, i.e., implements the method for transmitting information in the above-described method embodiments, by executing non-transitory software programs, instructions, and modules stored in the memory 1102.
The memory 1102 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device for extracting the video clip, and the like. Further, the memory 1102 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 1102 may optionally include memory located remotely from the processor 1101, which may be connected to an electronic device for retrieving video clips over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the method for transmitting information may further include: an input device 1103, an output device 1104, and a bus 1105. The processor 1101, memory 1102, input device 1103, and output device 1104 may be connected by a bus 1105 or other means, such as by bus 1105 in fig. 11.
The input device 1103 may receive input numeric or character information and generate key signal inputs related to user settings and function controls of the electronic apparatus for extracting the video clip, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointer, one or more mouse buttons, a track ball, a joystick, or other input devices. The output devices 1104 may include a display device, auxiliary lighting devices (e.g., LEDs), tactile feedback devices (e.g., vibrating motors), and the like. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present application can be achieved, and the present invention is not limited herein.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims (15)
1. A method for transmitting information, applied to a first application, comprising:
for each second application in at least one second application, acquiring an application attribute set of the second application, wherein the application attribute set comprises an identifier of the second application and data information of the second application;
responding to the monitored change of the data information in the application attribute set, and determining whether the data type in the changed data information represents that the target data in the changed data information is the data of the object type;
in response to determining that the data type represents that the target data is data of the object type, acquiring an identifier of a target second application from an application attribute set to which the target data belongs;
and sending the target data to the target second application according to the identifier of the target second application.
2. The method of claim 1, wherein the set of application attributes further includes an address of the second application, the method comprising:
acquiring display information of the second application according to the address of the second application;
and displaying the display information of the second application in the display interface of the first application.
3. The method of claim 1, wherein the method comprises:
and receiving data sent by the second application based on the preset event in response to monitoring the preset event.
4. The method of claim 1, wherein the obtaining an identifier of a target second application from an application attribute set to which the target data belongs comprises:
in response to monitoring an instruction for characterizing data transmission to global second applications, acquiring an identifier of each second application from the application attribute set of each second application;
the sending the target data to the target second application according to the identifier of the target second application includes:
and sending the target data to each second application according to the identifier of each second application.
5. The method according to one of claims 1 to 4, wherein the first application is communicatively connected to a data center, the data center includes an attribute monitoring function for monitoring a change of an application attribute set, and the responding to monitoring that the data information in the application attribute set changes includes:
responding to the received message sent by the data center and used for representing that the attribute listening function is triggered;
the sending the target data to the target second application according to the identifier of the target second application includes:
and sending the target data to the target second application through the data center according to the identifier of the target second application.
6. A method for transmitting information, applied to a second application, comprises the following steps:
receiving target data sent by a first application;
after determining that the data type representation target data is data of an object type, the first application acquires an identifier of a second application from an application attribute set to which the target data belongs, and sends the target data according to the identifier of the second application; when monitoring that the data information in the application attribute set changes, the first application determines whether the target data in the changed data information is the data of the object type; the first application comprises an application attribute set of each second application in at least one second application, and the application attribute set comprises an identifier of the second application and data information of the second application.
7. The method of claim 6, wherein the second application is communicatively connected to a data center, the data center includes a listening function corresponding to the second application, and the receiving the target data sent by the first application includes:
receiving the target data based on a snoop function corresponding to the second application.
8. The method of claim 7, wherein the method comprises:
in response to detecting the instruction for characterizing the stop listening to the data, sending an instruction to the data center instructing a listening function corresponding to the second application to stop listening to the data.
9. A method for transmitting information, applied to a data center, the data center being in communication connection with a first application and the data center being in communication connection with at least one second application, the data center comprising: the attribute monitoring function is used for monitoring the application attribute set in the first application, and the monitoring functions respectively corresponding to the at least one second application, and the method comprises the following steps:
sending a trigger message for representing that the attribute monitoring function is triggered to the first application in response to monitoring that data information in an application attribute set in the first application is changed;
receiving an identifier of a target second application returned by the first application based on the trigger message and target data triggering the attribute monitoring function;
determining a target monitoring function corresponding to the target second application from the at least one monitoring function according to the identifier of the target second application;
and transmitting the target data to the target second application through the target listening function.
10. The method of claim 9, wherein the method comprises:
and in response to receiving a message for representing that the uninstallation of the preset second application from the first application is completed, terminating the monitoring operation of the monitoring function corresponding to the preset second application.
11. An apparatus for transmitting information, applied to a first application, comprising:
a first obtaining unit, configured to obtain, for each of at least one second application, an application attribute set of the second application, where the application attribute set includes an identifier of the second application and data information of the second application;
the judging unit is configured to respond to the fact that the monitored data information in the application attribute set changes, and determine whether the data type in the changed data information represents that target data in the changed data information is data of an object type;
the second obtaining unit is used for responding to the data of which the data type represents that the target data is the object type, and obtaining the identification of the target second application from the application attribute set to which the target data belongs;
a first sending unit configured to send the target data to the target second application according to the identifier of the target second application.
12. An apparatus for transmitting information, applied to a second application, comprising:
a first receiving unit configured to receive target data transmitted by a first application;
after determining that the data type representation target data is data of an object type, the first application acquires an identifier of the second application from an application attribute set to which the target data belongs, and sends the target data according to the identifier of the second application; when monitoring that the data information in the application attribute set changes, the first application determines whether the target data in the changed data information is the data of the object type; the first application comprises an application attribute set of each second application in at least one second application, and the application attribute set comprises an identifier of the second application and data information of the second application.
13. An apparatus for transmitting information, applied to a data center, the data center being in communication connection with a first application, and the data center being in communication connection with at least one second application, the data center comprising: an attribute listening function for listening to the set of application attributes in the first application, at least one listening function corresponding to the at least one second application, respectively, the apparatus comprising:
a second sending unit, configured to send, to the first application, a trigger message for indicating that the attribute monitoring function is triggered in response to monitoring that data information in an application attribute set in the first application changes;
a second receiving unit, configured to receive an identifier of a target second application returned by the first application based on the trigger message, and target data triggering the attribute listening function;
a determining unit, configured to determine, according to the identifier of the target second application, a target listening function corresponding to the target second application from the at least one listening function;
a parameter writing unit configured to transmit the target data to the target second application through the target listening function.
14. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5, 6-8, or 9-10.
15. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any of claims 1-5, 6-8, or 9-10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110646846.2A CN113312193A (en) | 2021-06-10 | 2021-06-10 | Method and device for transmitting information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110646846.2A CN113312193A (en) | 2021-06-10 | 2021-06-10 | Method and device for transmitting information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113312193A true CN113312193A (en) | 2021-08-27 |
Family
ID=77377945
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110646846.2A Pending CN113312193A (en) | 2021-06-10 | 2021-06-10 | Method and device for transmitting information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113312193A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114741211A (en) * | 2022-02-18 | 2022-07-12 | 联想(北京)有限公司 | Data communication method and electronic equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8949462B1 (en) * | 2007-11-27 | 2015-02-03 | Google Inc. | Removing personal identifiable information from client event information |
CN106445706A (en) * | 2016-10-10 | 2017-02-22 | 广东欧珀移动通信有限公司 | Multi-application data transmission method, device and mobile terminal |
CN107330069A (en) * | 2017-06-30 | 2017-11-07 | 北京金山安全软件有限公司 | Multimedia data processing method and device, server and storage medium |
CN110619096A (en) * | 2019-06-12 | 2019-12-27 | 北京无限光场科技有限公司 | Method and apparatus for synchronizing data |
CN110674404A (en) * | 2019-09-27 | 2020-01-10 | 北京京东振世信息技术有限公司 | Link information generation method, device, system, storage medium and electronic equipment |
CN111523001A (en) * | 2020-04-23 | 2020-08-11 | 北京百度网讯科技有限公司 | Method, device, equipment and storage medium for storing data |
WO2020258838A1 (en) * | 2019-06-28 | 2020-12-30 | 创新先进技术有限公司 | Ble communication method, apparatus and device, and storage medium |
CN112528176A (en) * | 2019-09-18 | 2021-03-19 | 北京京东振世信息技术有限公司 | Information object validity detection method, device and system |
-
2021
- 2021-06-10 CN CN202110646846.2A patent/CN113312193A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8949462B1 (en) * | 2007-11-27 | 2015-02-03 | Google Inc. | Removing personal identifiable information from client event information |
CN106445706A (en) * | 2016-10-10 | 2017-02-22 | 广东欧珀移动通信有限公司 | Multi-application data transmission method, device and mobile terminal |
CN107330069A (en) * | 2017-06-30 | 2017-11-07 | 北京金山安全软件有限公司 | Multimedia data processing method and device, server and storage medium |
CN110619096A (en) * | 2019-06-12 | 2019-12-27 | 北京无限光场科技有限公司 | Method and apparatus for synchronizing data |
WO2020258838A1 (en) * | 2019-06-28 | 2020-12-30 | 创新先进技术有限公司 | Ble communication method, apparatus and device, and storage medium |
CN112528176A (en) * | 2019-09-18 | 2021-03-19 | 北京京东振世信息技术有限公司 | Information object validity detection method, device and system |
CN110674404A (en) * | 2019-09-27 | 2020-01-10 | 北京京东振世信息技术有限公司 | Link information generation method, device, system, storage medium and electronic equipment |
CN111523001A (en) * | 2020-04-23 | 2020-08-11 | 北京百度网讯科技有限公司 | Method, device, equipment and storage medium for storing data |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114741211A (en) * | 2022-02-18 | 2022-07-12 | 联想(北京)有限公司 | Data communication method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109145023B (en) | Method and apparatus for processing data | |
CN112000394B (en) | Method, apparatus, device and storage medium for accessing applet | |
CN111711663A (en) | Processing method and device for publishing and subscribing services and electronic equipment | |
CN111666585A (en) | Method and device for accessing sub-application, electronic equipment and readable storage medium | |
CN111475259B (en) | Applet loading method and device and electronic equipment | |
CN111740872A (en) | Message passing test method and device, electronic equipment and storage medium | |
JP2021121972A (en) | Mini-program processing method, server, equipment, storage medium, and program | |
CN102035893A (en) | Method and system for pushing data actively by server | |
US20150067146A1 (en) | Custom correlation of a distributed business transaction | |
CN111897694A (en) | Method, device and equipment for processing messages in applet and storage medium | |
CN111913884A (en) | Distributed test method, device, equipment, system and readable storage medium | |
CN111737615B (en) | Method and device for acquiring page resources, electronic equipment and readable storage medium | |
CN110659184B (en) | Health state checking method, device and system | |
CN109918191B (en) | Method and device for preventing frequency of service request | |
CN111866071A (en) | Data uploading method and device of business application, electronic equipment and storage medium | |
CN109669787B (en) | Data transmission method and device, storage medium and electronic equipment | |
CN112311597B (en) | Message pushing method and device | |
CN113094139A (en) | UI style updating method and device | |
CN111885114B (en) | Method, device and storage medium for upgrading application program interface module in gateway | |
CN111787088A (en) | Method and device for processing applet data | |
CN113312193A (en) | Method and device for transmitting information | |
CN113158098A (en) | Page generation method, device, equipment and medium | |
EP3872630A2 (en) | Request processing method and apparatus, electronic device, and computer storage medium | |
CN111522599B (en) | Method and device for transmitting information | |
CN110727736A (en) | Data synchronization method and device, electronic equipment and storage 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 |