CN108628689B - Dialog box data transmission method and device, computer and storage medium - Google Patents

Dialog box data transmission method and device, computer and storage medium Download PDF

Info

Publication number
CN108628689B
CN108628689B CN201810399110.8A CN201810399110A CN108628689B CN 108628689 B CN108628689 B CN 108628689B CN 201810399110 A CN201810399110 A CN 201810399110A CN 108628689 B CN108628689 B CN 108628689B
Authority
CN
China
Prior art keywords
dialog box
data
receiver
box data
bridge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810399110.8A
Other languages
Chinese (zh)
Other versions
CN108628689A (en
Inventor
张磊
陈少杰
张文明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201810399110.8A priority Critical patent/CN108628689B/en
Publication of CN108628689A publication Critical patent/CN108628689A/en
Application granted granted Critical
Publication of CN108628689B publication Critical patent/CN108628689B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Abstract

The embodiment of the invention discloses a dialog box data transmission method, a dialog box data transmission device, a computer and a storage medium. The method comprises the following steps: the method comprises the steps that a bridge receives dialog box data and identifies receiver information of the dialog box data; and the bridge sends the dialog box data to a receiver according to the receiver information so that the receiver processes the dialog box data. The embodiment of the invention realizes the coupling relationship between the dialog box controller and the dialog box view, does not need to define and maintain a large number of interface functions, simplifies the data transmission process between the dialog box controller and the dialog box view, and improves the communication efficiency and the convenience.

Description

Dialog box data transmission method and device, computer and storage medium
Technical Field
The present invention relates to data transmission technologies, and in particular, to a dialog box data transmission method, an apparatus, a computer, and a storage medium.
Background
The dialog box page is mainly used for displaying relevant information of the dialog box, and the dialog box page can be a key, a display box or a display page in a webpage.
In the development process of the Android client, application of a dialog box technology is frequently encountered, and for example, a large amount of dialog box technology is required in the development process of functions such as charging and lottery drawing in the goby client. At present, when the dialog box tries to transmit information with a controller, a large number of interface functions need to be defined for realizing information transmission between different logic layers of the dialog box, and the defined interface functions need to be manually maintained, registered and unregistered by an administrator, the maintenance work of the interface functions is complex, and the performance of the terminal is affected due to the fact that the maintenance is improper, the memory is leaked, and the like.
Disclosure of Invention
The invention provides a dialog box data transmission method, a dialog box data transmission device, a computer and a storage medium, which are used for simplifying the transmission process of dialog box data.
In a first aspect, an embodiment of the present invention provides a dialog box data transmission method, where the method includes: the method comprises the steps that a bridge receives dialog box data and identifies receiver information of the dialog box data;
and the bridge sends the dialog box data to a receiver according to the receiver information so that the receiver processes the dialog box data.
In a second aspect, an embodiment of the present invention further provides a dialog box data transmission device, where the dialog box data transmission device is disposed in a bridge, and the dialog box data transmission device includes:
the data receiving module is used for receiving the dialog box data and identifying receiver information of the dialog box data;
and the data sending module is used for sending the dialog box data to a receiver according to the receiver information so that the receiver can process the dialog box data.
In a third aspect, an embodiment of the present invention further provides a computer device, where the terminal includes a memory, a processor, and a computer program stored in the memory and running on the processor, and when the processor executes the computer program, the dialog data transmission method provided in any embodiment of the present invention is implemented.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the dialog data transmission method according to any embodiment of the present invention.
According to the embodiment of the invention, the bridge is arranged as a communication link between the dialog box view and the dialog box controller, the bridge receives the dialog box data, identifies the receiver information of the dialog box data, and sends the dialog box data to the receiver according to the receiver information, so that the receiver processes the dialog box data, the coupling relation between the dialog box controller and the dialog box view is realized, a large number of interface functions do not need to be defined and maintained, the data transmission process between the dialog box controller and the dialog box view is simplified, and the communication efficiency and the convenience are improved.
Drawings
FIG. 1 is an application scenario of an embodiment of the present invention;
fig. 2 is a flowchart of a dialog box data transmission method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a dialog box data transmission apparatus according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. 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.
Referring to fig. 1, fig. 1 is an application scenario of an embodiment of the present invention. The application and dialog box view and controller data communication process comprises a dialog box view 101, a dialog box controller 102 and a dialog box bridge 103, wherein the dialog box view 101 and the dialog box bridge 103 are in two-way communication, the dialog box controller 102 and the dialog box bridge 103 are in two-way communication, and no direct communication exists between the dialog box view 101 and the dialog box controller 102.
Example one
Fig. 2 is a flowchart of a dialog box data transmission method according to an embodiment of the present invention, where this embodiment is applicable to a case where communication between a simplified dialog box view and a dialog box controller is simplified, and the method may be executed by a computer device according to an embodiment of the present invention, where the computer device may be implemented in a software and/or hardware manner. The method specifically comprises the following steps:
s110, the bridge receives the dialog box data and identifies the receiver information of the dialog box data.
Wherein the bridge is a communication link between the dialog view and the dialog controller. The sender of the dialog data may be a dialog view or a dialog controller and, correspondingly, the recipient of the dialog may be a dialog controller or a dialog view.
In this embodiment, the dialog data at least includes sender information, receiver data, and data content of the data. Optionally, the bridge performs communication between the dialog view and the dialog controller based on a preset communication protocol architecture, where the communication protocol architecture of the bridge may be:
Figure BDA0001645281320000041
the communication protocol architecture is a communication method for a bridge corresponding to a dialog view and a dialog controller, wherein IBridgSender is a communication protocol name of the bridge, brigtoview represents a function name of the bridge dialog view, and brigtocontrol represents a function name of the bridge dialog controller. And the two bridging functions are provided with three parameters, the callerTag is caller information of the bridge, namely sender information of the dialog box data, the receiverTag is routing destination information of the bridge, namely receiver information of the dialog box data, and the data is data information carried in the bridge, namely data content of the dialog box data.
It should be noted that the data type of the data information carried in the bridge is an Object type, where the Object type is a root class of various data classes, and can receive any Object data, thereby implementing diversified compatible receiving processing of dialog data by the bridge. When the quantity type of the dialog data sent by the sender is not the Object type, the conversion to the Object type can be automatically performed.
Optionally, the sender information and the receiver information are stored in a String, for example, may be stored in a String; wherein, the bridge identifies the receiver information of the dialog box data, including: and when detecting that the character string of the receiver is not empty, the bridge determines the information of the receiver according to the matching result by matching the character string of the receiver.
In this embodiment, after receiving the dialog data, the bridge determines the receiver information and the sender information of the data in a character string matching manner. Illustratively, the strings may be matched using an equals function. The matching process of the receiver information and the sender information of the dialog box data can be that whether the callerTag character string and the receiverTag character string are empty is judged, if yes, the dialog box data is determined to be invalid data, and data return is carried out through a return function; and if the callerTag character string and the receiverTag character string are not empty, matching the callerTag character string and the receiverTag character string with a character string array stored in the bridge in advance, and determining the sender information and the receiver information of the dialog box data when matching is successful. Since the bridge data needs to satisfy the above communication protocol architecture, the transmitted data needs to be assembled, where the assembly of the dialog data may be performed at the sender or at the bridge. Correspondingly, the dialog box data received by the bridge is original data or bridge data; the original data refers to dialog box data sent by a sender when the sender does not perform data assembly, and the bridging data refers to dialog box data which is sent by the sender after the data assembly and meets a communication protocol architecture.
If the dialog box data is the original data, after the bridge receives the dialog box data, the method further includes: the bridge converts the dialog box data into bridge data according to a preset rule, wherein the bridge data comprises sender information, receiver information and information content in a preset format of the dialog box data. The data assembling comprises the steps of storing sender information and receiver information into String character strings, converting data contents into Object types, and encapsulating the Object types into bridging data meeting a communication protocol architecture; correspondingly, the bridge sends the dialog box data to the receiver according to the receiver information, and the method comprises the following steps: and the bridge sends the bridge data obtained by conversion to the receiver according to the receiver information.
The assembly of the dialog box data can be completed by the sender and the bridge, preferably, the data assembly in the bridge is particularly suitable for the situation that the sender and the receiver are respectively at different terminals, and the transmission efficiency of the dialog box data can be improved. Illustratively, the sender may be a dialog view of a first device and the recipient a dialog controller of a second device. Optionally, before sending data, the sender determines whether a data receiver is set on the same terminal, and if not, the sender can directly send the original data to the bridge, so that the bridge assembles the original data to form bridge data; if yes, any assembly mode can be selected.
In the embodiment, before data is sent, whether the receiving party and the sending party are located in the same device is identified, and different data assembly modes are adopted, so that the transmission efficiency of the dialog box data is improved.
And S120, the bridge sends the dialog box data to the receiver according to the receiver information so that the receiver processes the dialog box data.
In order to realize the communication between the bridge and the receiver, the receiver and the bridge need to satisfy the bridging logic, and optionally, the method of bridging in the preset field of the receiver. Illustratively, the IBridgSender function is overwritten in the instances field of the dialog controller, and the bridgToView function is null; the IBridgSender function is overwritten in the instances field of the dialog view, and the bridge ToControl function is empty.
And the bridge sends the dialog box data to the receiver to realize the transmission of the dialog box data between the sender and the receiver. In the embodiment, the bridge is additionally arranged between the dialog box controller and the dialog box view, a large number of interface functions do not need to be defined and maintained, the coupling relation between the dialog box controller and the dialog box view is realized through the bridge, the data transmission process between the dialog box controller and the dialog box view is simplified, and the communication efficiency and convenience are improved.
Optionally, the sending, by the bridge, the dialog data to the recipient according to the recipient information includes: the bridge acquires a transmission type identifier of the dialog box data; and the bridge determines the transmission mode of the dialog box data according to the transmission type identifier and sends the dialog box data to a receiver according to the transmission mode.
In this embodiment, the bridge may implement different modes of transmitting the dialog box data according to the transmission requirements of the user for different data. The dialog box data also carries a transmission type identifier for distinguishing the transmission mode of the dialog box data. The transmission type identifier includes a first identifier and a second identifier. The first identification can correspond to a data transmission mode and is data transparent transmission, and the data transparent transmission means that the bridge directly sends dialog box data meeting a communication protocol architecture to a receiving party; the second identifier may correspond to a data transmission mode of targeted transmission, which means that the bridging data preprocesses the dialog box data meeting the communication protocol architecture, determines an interface function corresponding to the dialog box data, and performs targeted transmission on the dialog box data according to the interface function.
Optionally, if the transmission type identifier is the first identifier, the dialog box data is transparently transmitted to the receiving party, so that the receiving party rewrites the bridge function and processes the dialog box data. The transparent data transmission mode can not modify the data in any form and can not influence the subsequent expansion of the dialog box data. Correspondingly, the receiver performs analysis processing in sequence after receiving the dialog box data, and cannot perform screening on the data according to requirements before data processing.
If the transmission type identifier is the second identifier, determining a class name and corresponding interface function information of the dialog box data, and sending the dialog box data carrying the class name and the interface function information to a receiver so that the receiver can perform screening and processing according to the class name and the corresponding interface function. The class name refers to a data type of the dialog box data, and may be, for example, "name" if the data content of the dialog box data is name information, or "height" if the data content of the dialog box data is height information. The interface function refers to a function for receiving and processing the dialog data, and the interface function information may be an interface function name or other unique identifier.
Optionally, the receiving side performs screening and processing according to the class name and the corresponding interface function, including: the receiver judges whether the dialog box data is the demand data or not according to the class name of the dialog box data; if yes, the receiver rewrites the interface function corresponding to the dialog box data and processes the dialog box data, and if not, the dialog box data is additionally stored or discarded. When the number of the dialog box data is large, the class name and the interface function information of each dialog box data are determined, so that a receiving party can conveniently screen the data before duplicating the function, the problem of time waste caused by unnecessary data processing is avoided, and the data processing efficiency is improved. After the data are screened, the screened dialog box data are subjected to targeted function rewriting, and the redundant consumption of resources is further avoided.
The transmission type identifier is set by the sender according to user requirements, if the user requirements are to maintain the expandability of the dialog box data, the transmission type identifier is set as a first identifier, and if the user requirements are to improve the processing efficiency of the dialog box data, the transmission type identifier is set as a second identifier. The first identification may be a logical "1" and the second identification may be a logical "0".
It should be noted that, after receiving the dialog box data, the receiving side further determines whether the receiving side can process the Object type data, and if so, the Object type data does not need to be converted; if not, the Object type data in the dialog box data is converted into the original data format, and data abnormity caused by random format conversion is avoided. Optionally, the dialog box data carries the original data format identifier.
According to the technical scheme, the bridge is arranged to serve as a communication link between the dialog box view and the dialog box controller, the bridge receives the dialog box data, the receiver information of the dialog box data is identified, the dialog box data are sent to the receiver according to the receiver information, so that the receiver processes the dialog box data, the coupling relation between the dialog box controller and the dialog box view is achieved, a large number of interface functions do not need to be defined and maintained, the data transmission process between the dialog box controller and the dialog box view is simplified, and the communication efficiency and convenience are improved.
On the basis of the technical scheme, the method further comprises the following steps: and the bridge monitors the broadcast information sent by the operating system, and when the broadcast information is released from the page to which the dialog box belongs, the bridge calls a destruction function in the basic class to release the dialog box data corresponding to the dialog box.
In this embodiment, since the page has a release period, when the release period is satisfied, the page is released. The operating system can monitor the release condition of each page in real time, and when the pages are released, broadcast information is sent. The bridge has a broadcast monitoring function, and when broadcast information released by a page to which the dialog box belongs is monitored, dialog box data corresponding to the dialog box can be released, so that the problem of memory leakage caused by the fact that the dialog box data occupies a large amount of memory is avoided.
Specifically, a BaseDialog class is defined and packaged in the bridge, and a Dialog class of the system is integrated. The IBridgSender function is inherited in the BaseDialog class, so the destruction function ondestory in the BaseDialog class in the bridge can actively release the IBridgSender object.
Similarly, a BaseControl class is encapsulated at the dialog control layer, and the destroy function ondestory in the BaseControl class can actively release the IBridgSender object.
Inheriting BaseDialog in an extensions field of the dialog box view, so that the dialog box view has the function of automatically releasing resources, namely automatically destroying invalid data.
In this embodiment, an automatic release logic is set in the bridge, and invalid dialog box data is automatically released by monitoring broadcast information of the operating system, so that the problem of memory leakage is effectively solved, and the system performance is improved.
Example two
Fig. 3 is a schematic structural diagram of a dialog box data transmission device according to a second embodiment of the present invention, where the dialog box data transmission device is disposed in a bridge, and the dialog box data transmission device includes:
a data receiving module 210, configured to receive the dialog box data and identify recipient information of the dialog box data;
and the data sending module 220 is configured to send the dialog data to the recipient according to the recipient information, so that the recipient processes the dialog data.
Optionally, the dialog box data is original data or bridging data; if the dialog box data is original data, the device further comprises a data conversion module, wherein the data conversion module is used for converting the dialog box data into bridging data according to a preset rule after the bridge receives the dialog box data, and the bridging data comprises sender information, receiver information and information content in a preset format of the dialog box data;
correspondingly, the data sending module 220 is specifically configured to: and the bridge sends the bridge data obtained by conversion to the receiver according to the receiver information.
Optionally, the information of the receiving party is stored in the character string; the data receiving module 210 includes a character string matching unit, configured to, when detecting that the character string of the receiving party is not empty, match the character string of the receiving party, and determine information of the receiving party according to a matching result.
Optionally, the data sending module 220 includes:
the identification acquisition unit is used for acquiring the transmission type identification of the dialog box data;
and the data transmission unit is used for determining the transmission mode of the dialog box data according to the transmission type identifier and sending the dialog box data to a receiving party according to the transmission mode.
Optionally, the data transmission unit includes:
the first transmission subunit is used for transparently transmitting the dialog box data to the receiver if the transmission type identifier is the first identifier, so that the receiver rewrites the bridging function and processes the dialog box data;
and the second transmission subunit is used for determining the class name and the corresponding interface function information of the dialog box data if the transmission type identifier is the second identifier, and sending the dialog box data carrying the class name and the interface function information to the receiver so that the receiver can perform screening and processing according to the class name and the corresponding interface function.
Optionally, the receiver includes a data determining module, configured to determine whether the dialog data is the required data according to the class name of the dialog data;
and the data processing module is used for duplicating the interface function corresponding to the dialog box data and processing the dialog box data by the receiver if the dialog box data is the required data.
The device still includes:
the information monitoring module is used for monitoring the broadcast information sent by the operating system;
and the data release module is used for calling a destroy function in the basic class when the broadcast information is released for the page to which the dialog box belongs, and releasing the dialog box data corresponding to the dialog box.
The dialog box data transmission device provided by the embodiment of the invention can execute the dialog box data transmission method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the dialog box data transmission method.
EXAMPLE III
Fig. 4 is a schematic structural diagram of a terminal according to a third embodiment of the present invention. Referring to fig. 4, the terminal includes:
one or more processors 310;
a memory 320 for storing one or more programs;
when the one or more programs are executed by the one or more processors 310, the one or more processors 310 are enabled to implement the dialog data transmission method according to the embodiment of the present invention.
FIG. 4 illustrates an example of a processor; the processor and memory may be connected by a bus or other means, such as by a bus in FIG. 4.
The memory, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules. The processor executes various functional applications and data processing of the terminal by running software programs, instructions and modules stored in the memory, that is, the above-described dialog data transmission method is realized.
The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system and an application program required by at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
In addition, according to different forms of the terminal, in addition to the processor and the memory, the control terminal may further include other modules or structures, for example, the terminal may have a voice broadcast function, and then further includes a speaker; for another example, the terminal may be a device having a display function, and further includes a display screen for displaying map data, and also may be used for a user to perform touch operation on the navigation software interface.
The terminal provided by the embodiment and the dialog box data transmission method provided by the embodiment of the invention belong to the same inventive concept, and technical details which are not described in detail in the embodiment can be referred to as embodiment one.
Example four
The present embodiment provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements a dialog data transmission method as proposed by an embodiment of the present invention.
The computer-readable storage medium provided by the embodiment and the dialog box data transmission method provided by the embodiment belong to the same inventive concept, and technical details that are not described in detail in the embodiment can be referred to in the first embodiment, and the first embodiment and the second embodiment have the same beneficial effects.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
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 (8)

1. A dialog box data transmission method, comprising:
the method comprises the steps that a bridge receives dialog box data and identifies receiver information of the dialog box data;
the bridge sends the dialog box data to a receiver according to the receiver information so that the receiver can process the dialog box data;
the bridge sends the dialog box data to a receiver according to the receiver information, and the method comprises the following steps:
the bridge acquires the transmission type identification of the dialog box data;
the bridge determines a transmission mode of the dialog box data according to the transmission type identification, and sends the dialog box data to a receiver according to the transmission mode;
the bridge determines a transmission mode of the dialog box data according to the transmission type identifier, and sends the dialog box data to a receiver according to the transmission mode, so that the receiver processes the dialog box data, and the method comprises the following steps:
if the transmission type identifier is a first identifier, transparently transmitting the dialog box data to a receiver so that the receiver can duplicate a bridging function and process the dialog box data;
if the transmission type identifier is a second identifier, determining a class name and corresponding interface function information of the dialog box data, and sending the dialog box data carrying the class name and the interface function information to a receiver so that the receiver performs screening and processing according to the class name and the corresponding interface function.
2. The method of claim 1, wherein the dialog box data is raw data or bridging data; if the dialog box data is the original data, after the bridge receives the dialog box data, the method further includes:
the bridge converts the dialog box data into bridge data according to a preset rule, wherein the bridge data comprise sender information, receiver information and information content in a preset format of the dialog box data;
correspondingly, the step of sending the dialog box data to the receiver by the bridge according to the receiver information includes:
and the bridge sends the bridge data obtained by conversion to a receiver according to the receiver information.
3. The method according to claim 1 or 2, wherein the receiver information is stored in a string; wherein the bridge recognizing the receiver information of the dialog box data comprises:
and when detecting that the character string of the receiver is not empty, the bridge determines the information of the receiver according to the matching result by matching the character string of the receiver.
4. The method of claim 1, wherein the receiver performs screening and processing according to the class name and the corresponding interface function, and comprises:
the receiver judges whether the dialog box data is the demand data or not according to the class name of the dialog box data;
if so, the receiver duplicates the interface function corresponding to the dialog box data and processes the dialog box data.
5. The method of claim 1, further comprising:
the bridge monitors broadcast information sent by an operating system, and when the broadcast information is released from a page to which a dialog box belongs, a destruction function in a basic class is called to release dialog box data corresponding to the dialog box.
6. A kind of data transmission device of dialog box, characterized by that, set up in the bridge, comprising:
the data receiving module is used for receiving the dialog box data and identifying receiver information of the dialog box data;
the data sending module is used for sending the dialog box data to a receiver according to the receiver information so that the receiver can process the dialog box data;
the data transmission module comprises:
the identification acquisition unit is used for acquiring the transmission type identification of the dialog box data;
the data transmission unit is used for determining a transmission mode of the dialog box data according to the transmission type identifier and sending the dialog box data to a receiving party according to the transmission mode;
the data transmission unit includes:
the first transmission subunit is used for transparently transmitting the dialog box data to the receiver if the transmission type identifier is the first identifier, so that the receiver rewrites the bridging function and processes the dialog box data;
and the second transmission subunit is used for determining the class name and the corresponding interface function information of the dialog box data if the transmission type identifier is the second identifier, and sending the dialog box data carrying the class name and the interface function information to the receiver so that the receiver can perform screening and processing according to the class name and the corresponding interface function.
7. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1-5 when executing the program.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN201810399110.8A 2018-04-28 2018-04-28 Dialog box data transmission method and device, computer and storage medium Active CN108628689B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810399110.8A CN108628689B (en) 2018-04-28 2018-04-28 Dialog box data transmission method and device, computer and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810399110.8A CN108628689B (en) 2018-04-28 2018-04-28 Dialog box data transmission method and device, computer and storage medium

Publications (2)

Publication Number Publication Date
CN108628689A CN108628689A (en) 2018-10-09
CN108628689B true CN108628689B (en) 2021-09-07

Family

ID=63694955

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810399110.8A Active CN108628689B (en) 2018-04-28 2018-04-28 Dialog box data transmission method and device, computer and storage medium

Country Status (1)

Country Link
CN (1) CN108628689B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655806A (en) * 2009-09-25 2010-02-24 马丰文 Interaction method of software system build-in component data
US7735017B2 (en) * 2005-02-22 2010-06-08 International Business Machines Corporation System and method for automating manual transactions between disjoint systems
CN101739255A (en) * 2009-11-30 2010-06-16 马亚平 Component reverse calling platform and method for inter-component similar group communication
CN105700878A (en) * 2016-01-08 2016-06-22 北京小米移动软件有限公司 Message edition processing method and device
CN107517188A (en) * 2016-06-16 2017-12-26 大唐软件技术股份有限公司 A kind of data processing method and device based on Android system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7266490B2 (en) * 2000-12-28 2007-09-04 Robert Marc Zeidman Apparatus and method for connecting hardware to a circuit simulation
US7010609B1 (en) * 2000-12-21 2006-03-07 Borland Software Corporation System and method for adding transport protocols in distributed middleware applications
CN103443763B (en) * 2012-08-08 2016-10-05 英特尔公司 Comprise to connect the ISA Bridge of the support called rewriteeing virtual function
KR101437945B1 (en) * 2012-10-17 2014-09-11 주식회사 모코플렉스 Dialog box management system, user terminal, dialog box exposure method and method for configurating dialog box exposure using the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7735017B2 (en) * 2005-02-22 2010-06-08 International Business Machines Corporation System and method for automating manual transactions between disjoint systems
CN101655806A (en) * 2009-09-25 2010-02-24 马丰文 Interaction method of software system build-in component data
CN101739255A (en) * 2009-11-30 2010-06-16 马亚平 Component reverse calling platform and method for inter-component similar group communication
CN105700878A (en) * 2016-01-08 2016-06-22 北京小米移动软件有限公司 Message edition processing method and device
CN107517188A (en) * 2016-06-16 2017-12-26 大唐软件技术股份有限公司 A kind of data processing method and device based on Android system

Also Published As

Publication number Publication date
CN108628689A (en) 2018-10-09

Similar Documents

Publication Publication Date Title
CN108259599B (en) File data transmission system
US11294740B2 (en) Event to serverless function workflow instance mapping mechanism
CN109343983B (en) Information interaction method, device, equipment and storage medium between function modules
CN105389120A (en) Supporting RMA API over active message
CN101741745B (en) Method and system for identifying application traffic of peer-to-peer network
CN114090388A (en) Information acquisition method, server cluster, server and equipment
CN111008254B (en) Object creation method, device, computer equipment and storage medium
CN108810633B (en) Barrage message transmission method, device, equipment and storage medium
CN108052401B (en) System attribute monitoring method, terminal device and computer readable storage medium
CN108628689B (en) Dialog box data transmission method and device, computer and storage medium
CN113127775B (en) Page loading method, device, equipment and storage medium
CN109144520B (en) Information interaction method, device, equipment and storage medium among different objects in Android
CN111338710A (en) Application program control method and device, electronic equipment and storage medium
US9537931B2 (en) Dynamic object oriented remote instantiation
CN114125024B (en) Audio transmission method, electronic device and readable storage medium
CN111813529B (en) Data processing method, device, electronic equipment and storage medium
CN106331051A (en) File transmission method and system, file receiving device and file transmission device
CN111756836B (en) Information sending method and device based on event management model
CN110858846A (en) Resource allocation method, device and storage medium
CN108966035B (en) Barrage message transmission method, device, equipment and storage medium
CN113296987A (en) Interface calling method and device for calling module, computer equipment and storage medium
CN111953749A (en) Message distribution method and device for distributed equipment
CN112988125B (en) Data bridging method, device, equipment and storage medium
CN109582481A (en) Transmission method, device, equipment and the storage medium of call result
CN110719303A (en) Containerization NRF method and system

Legal Events

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