CN113760401A - Target data sending method, device, electronic equipment and computer readable medium - Google Patents

Target data sending method, device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN113760401A
CN113760401A CN202110057959.9A CN202110057959A CN113760401A CN 113760401 A CN113760401 A CN 113760401A CN 202110057959 A CN202110057959 A CN 202110057959A CN 113760401 A CN113760401 A CN 113760401A
Authority
CN
China
Prior art keywords
external
target data
callback message
interface
sending
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
Application number
CN202110057959.9A
Other languages
Chinese (zh)
Inventor
黄海峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Tuoxian Technology Co Ltd
Original Assignee
Beijing Jingdong Tuoxian 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 Beijing Jingdong Tuoxian Technology Co Ltd filed Critical Beijing Jingdong Tuoxian Technology Co Ltd
Priority to CN202110057959.9A priority Critical patent/CN113760401A/en
Publication of CN113760401A publication Critical patent/CN113760401A/en
Pending legal-status Critical Current

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/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • 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/546Message passing systems or structures, e.g. queues
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the disclosure discloses a target data sending method, a target data sending device, electronic equipment and a computer readable medium. One embodiment of the method comprises: receiving an external callback message; transmitting the external callback message to an internal interface through an external callback message queue; determining target data related to the external callback message through the internal interface; and sending the target data to an external target interface. The implementation mode realizes the decoupling of the function of receiving the external callback message and sending the target data and the function of determining the target data according to the external callback message, and reduces a large amount of repeated work in the development process.

Description

Target data sending method, device, electronic equipment and computer readable medium
Technical Field
Embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a target data sending method, an apparatus, an electronic device, and a computer-readable medium.
Background
And the target data sending is a technology for determining the target data according to the external callback message and sending the target data to a third-party server or a third-party platform. At present, when target data is sent, the following method is generally adopted: the function of receiving the external callback message and sending the target data and the function of determining the target data according to the external callback message are integrated together to form a whole functional module, so that the target data is sent.
However, when the target data is transmitted in the above manner, there are often the following technical problems: the functions of receiving the external callback message and sending the target data are closely related to the function of determining the target data according to the external callback message, and the coupling degree is high. Therefore, the above-mentioned whole function module needs to be separately developed for different service scenarios to realize the interface with the third party server or the third party platform. Further, a great deal of repetitive work is caused in the development process.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose target data transmission methods, apparatuses, electronic devices and computer readable media to solve one or more of the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a target data sending method, including: receiving an external callback message; transmitting the external callback message to an internal interface through an external callback message queue; determining target data related to the external callback message through the internal interface; and sending the target data to an external target interface.
Optionally, the receiving the external callback message includes: and receiving an external callback message sent to an address represented by the preset mapping domain name.
Optionally, the sending the target data to an external target interface includes: and sending the target data to an external target interface through the mapping domain name.
Optionally, the determining, by the internal interface, target data related to the external callback message includes: calling an internal service through the internal interface to obtain initial data related to the external callback message; and processing the initial data to obtain the target data.
Optionally, before the sending the target data to an external target interface, the method further includes: and acquiring interface calling permission information according to a preset time interval.
Optionally, the sending the target data to an external target interface includes: and sending the interface calling permission information and the target data to an external target interface.
In a second aspect, some embodiments of the present disclosure provide a target data transmission apparatus, including: a receiving unit configured to receive an external callback message; the issuing unit is configured to issue the external callback message to an internal interface through an external callback message queue; a determining unit configured to determine target data related to the external callback message through the internal interface; and the sending unit is configured to send the target data to an external target interface.
Optionally, the receiving unit of the target data transmitting apparatus may be further configured to: and receiving an external callback message sent to an address represented by the preset mapping domain name.
Optionally, the sending unit of the target data sending apparatus may be further configured to: and sending the target data to an external target interface through the mapping domain name.
Optionally, the determining unit of the target data sending apparatus may be further configured to: calling an internal service through the internal interface to obtain initial data related to the external callback message; and processing the initial data to obtain the target data.
Optionally, before the sending the target data to the external target interface, the target data sending apparatus further includes: an acquisition unit. Wherein the obtaining unit may be configured to: and acquiring interface calling permission information according to a preset time interval.
Optionally, the sending unit of the target data sending apparatus may be further configured to: and sending the interface calling permission information and the target data to an external target interface.
In a third aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method described in any of the implementations of the first aspect.
In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium on which a computer program is stored, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect.
The above embodiments of the present disclosure have the following advantages: according to the target data sending method of some embodiments of the disclosure, the functions of receiving the external callback message and sending the target data are decoupled from the function of determining the target data according to the external callback message, a large amount of repeated work in the development process is reduced, and an integral function module does not need to be separately developed for different service scenes. Specifically, the reason why the whole function module needs to be separately developed for different service scenarios is that: decoupling between the function of receiving external callback messages and sending target data and the function of determining target data according to the external callback messages is not realized. Based on this, the target data sending method according to some embodiments of the present disclosure decouples, through the external callback message queue, the function of receiving the external callback message and sending the target data from the function of determining the target data according to the external callback message, and takes the function of interfacing with the third-party server or the third-party platform as an independent module. Therefore, the functional module to be modified can be developed only under different service scenes, a large amount of repeated work in the development process is reduced, and the development efficiency is improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
FIG. 1 is a schematic diagram of one application scenario of a target data transmission method of some embodiments of the present disclosure;
FIG. 2 is a flow diagram of some embodiments of a method of target data transmission according to the present disclosure;
FIG. 3 is a flow diagram of further embodiments of a method of target data transmission according to the present disclosure;
FIG. 4 is a schematic illustration of obtaining initial data in some embodiments of a targeted data transmission method according to the present disclosure;
FIG. 5 is a schematic block diagram of some embodiments of a target data transmission apparatus according to the present disclosure;
FIG. 6 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Fig. 1 is a schematic diagram of an application scenario of a target data transmission method according to some embodiments of the present disclosure.
In the application scenario of fig. 1, first, computing device 101 may receive external callback message 102. Then, the computing device 101 may issue the external callback message 102 to the internal interface 103 via the external callback message queue. Next, the computing device 101 may determine, via the internal interface 103, target data 104 associated with the external callback message 102. Finally, the computing device 101 may send the target data 104 described above to the external target interface 105.
The computing device 101 may be hardware or software. When the computing device is hardware, it may be implemented as a distributed cluster composed of multiple servers or terminal devices, or may be implemented as a single server or a single terminal device. When the computing device is embodied as software, it may be installed in the hardware devices enumerated above. It may be implemented, for example, as multiple software or software modules to provide distributed services, or as a single software or software module. And is not particularly limited herein.
It should be understood that the number of computing devices in FIG. 1 is merely illustrative. There may be any number of computing devices, as implementation needs dictate.
With continued reference to fig. 2, a flow 200 of some embodiments of targeted data transmission in accordance with the present disclosure is shown. The target data sending method comprises the following steps:
step 201, an external callback message is received.
In some embodiments, the execution subject of the target data sending method (e.g., computing device 101 shown in fig. 1) may receive the external callback message via a wired connection or a wireless connection. The external callback message may be a data request sent by a third-party server (e.g., a WeChat server) or a third-party platform.
As an example, the external callback message may be a text data request. The text data request may include: unique user identification, text content. The user unique identifier may be used to identify the user who generated the text content. The text content may be text content included in information sent by the user to the third-party server or the third-party platform. For example, the user sends a text message with the content of "electronic ticket inquiry" to the WeChat Server through the WeChat public number of the A Hospital to inquire the electronic ticket generated during the medical treatment of the A Hospital. At this time, the wechat server may send the text content "electronic ticket query" and the user unique identifier (for example, OpenID) of the user under the wechat public number of the a hospital as an external callback message to the execution main body through a preconfigured domain name. The preconfigured domain name may be used to indicate an access address of the execution principal.
In the implementation manner, the third party server or the third party platform is usually deployed in an external network environment, and the external callback message can be received through the domain name only by publishing the local service as the online service. When a local service has not been released as an online service, it is difficult to receive an external callback message directly through an IP Address (Internet Protocol Address) of an internal network. However, during the development and testing of local services, frequent releases of local services as online services can greatly reduce the efficiency of local service development and testing.
Thus, in some optional implementations of some embodiments, the execution principal may receive an external callback message sent to an address characterized by a preset mapping domain name.
As an example, in the process of local service development and testing, the mapping domain name may be obtained by mapping the IP address of the internal network to the domain name in the external network in advance through a domain name mapping tool. Therefore, in the process of local service development and testing, local services do not need to be issued as online services, and the intranet penetration test can be carried out by receiving external callback messages through mapping domain names.
Step 202, the external callback message is sent to the internal interface through the external callback message queue.
In some embodiments, the internal interface may be an internal interface for obtaining target data associated with the external callback message. The issuing of the external callback message to the internal interface by the execution main body through the external callback message queue may include the following steps:
firstly, adding the external callback message into the external callback message queue.
And secondly, responding to the dequeue of the external callback message from the external callback message queue, and sending the external callback message to the internal interface.
In the implementation mode, the decoupling between the receiving and the sending of the external callback message can be realized through the external callback message queue. Therefore, the safety of the internal interface can be ensured to a certain extent in the process of carrying out the intranet penetration test.
And step 203, determining target data related to the external callback message through the internal interface.
In some embodiments, the execution agent may determine target data associated with the external callback message through the internal interface.
By way of example, the external callback message may be [001, electronic ticket query ]. Then the internal database can be accessed through the internal interface, the electronic bill record with the unique user identifier of '001' is inquired out, and the electronic bill records are taken as the target data.
Step 204, sending the target data to an external target interface.
In some embodiments, the execution agent may send the target data to an external target interface. The external target interface may be an interface provided by the third party server or the third party platform for receiving data and messages.
In some optional implementations of some embodiments, the execution body may send the target data to an external target interface through the mapped domain name. And sending the target data to an external target interface through the mapping domain name, so that the interaction and butt joint with the third party server or the third party platform in an internal network can be met in the process of local service development and test.
The above embodiments of the present disclosure have the following advantages: according to the target data sending method of some embodiments of the disclosure, the functions of receiving the external callback message and sending the target data are decoupled from the function of determining the target data according to the external callback message, a large amount of repeated work in the development process is reduced, and an integral function module does not need to be separately developed for different service scenes. Specifically, the reason why the whole function module needs to be separately developed for different service scenarios is that: decoupling between the function of receiving external callback messages and sending target data and the function of determining target data according to the external callback messages is not realized. Based on this, the target data sending method according to some embodiments of the present disclosure decouples, through the external callback message queue, the function of receiving the external callback message and sending the target data from the function of determining the target data according to the external callback message, and takes the function of interfacing with the third-party server or the third-party platform as an independent module. Therefore, the functional module to be modified can be developed only under different service scenes, a large amount of repeated work in the development process is reduced, and the development efficiency is improved.
With further reference to fig. 3, a flow 300 of further embodiments of a target data transmission method is shown. The process 300 of the target data sending method includes the following steps:
step 301, obtaining interface calling permission information according to a predetermined time interval.
In some embodiments, the execution subject of the target data transmission method (e.g., the computing device 101 shown in fig. 1) may acquire the interface call permission information according to a predetermined time interval. The interface calling permission information may be permission information for calling an interface of a third party server or a third party platform. The predetermined time interval may be two hours. The newly acquired interface call permission information may cause the previously acquired interface call permission information to be invalidated. By the method, the interface of the third-party server or the third-party platform can be prevented from being illegally called, so that the safety of the third-party server or the third-party platform is ensured.
Step 302, an external callback message is received.
Step 303, issuing the external callback message to the internal interface through the external callback message queue.
In some embodiments, the specific implementation manner and technical effects of steps 302 and 303 can refer to steps 201 and 202 in the embodiments corresponding to fig. 2, which are not described herein again.
Step 304, calling the internal service through the internal interface to obtain the initial data related to the external callback message.
In some embodiments, the execution agent may call an internal service through the internal interface to obtain initial data associated with the external callback message. Wherein, the external callback message may include: unique user identification and picture information.
As an example, the picture information may be a paper registration list picture or an identification card picture. The internal service may be a text recognition service. Referring to fig. 4, the characters in the identification card picture 402 can be recognized by an optical character recognition algorithm 401, and the recognized characters are used as initial data 403. The optical character recognition algorithm is an algorithm that converts text in an image into a data format that can be directly processed by a computer. The optical character recognition algorithm may be implemented by a CNN (Convolutional Neural Network) model, an RNN (Recurrent Neural Network) model, or a DNN (Deep Neural Network) model.
Step 305, processing the initial data to obtain target data.
In some embodiments, the execution subject may process the initial data to obtain target data.
For example, the recognized characters may be subjected to format conversion processing, the initial data may be converted into data in a target format, and the data in the target format may be used as target data. The Object format may be JSON (JSON Object Notation) format or XML (Extensible Markup Language) format, and the like.
Step 306, sending the target data to an external target interface.
In some embodiments, the specific implementation manner and technical effects of step 306 may refer to step 204 in those embodiments corresponding to fig. 2, and are not described herein again.
As can be seen from fig. 4, compared with the description of some embodiments corresponding to fig. 2, the flow 400 of the target data sending method in some embodiments corresponding to fig. 4 embodies an extension of the step of determining the target data. Therefore, the scheme described by the embodiments can be applied to more business scenarios, so that more comprehensive target data generation is realized.
With further reference to fig. 5, as an implementation of the methods illustrated in the above figures, the present disclosure provides some embodiments of a target data transmission apparatus, which correspond to those illustrated in fig. 2, and which may be particularly applicable in various electronic devices.
As shown in fig. 5, the target data transmission apparatus 500 of some embodiments includes: a receiving unit 501, a distributing unit 502, a determining unit 503 and a sending unit 504. Wherein the receiving unit 501 is configured to receive an external callback message. The issuing unit 502 is configured to issue the external callback message to the internal interface through the external callback message queue. A determining unit 503 configured to determine target data related to the external callback message through the internal interface. A sending unit 504 configured to send the target data to an external target interface.
In an optional implementation manner of some embodiments, the receiving unit 501 of the target data transmitting apparatus 500 may be further configured to: and receiving an external callback message sent to an address represented by the preset mapping domain name.
In an optional implementation manner of some embodiments, the sending unit 504 of the target data sending apparatus 500 may be further configured to: and sending the target data to an external target interface through the mapping domain name.
In an optional implementation manner of some embodiments, the determining unit 503 of the target data sending apparatus 500 may be further configured to: calling an internal service through the internal interface to obtain initial data related to the external callback message; and processing the initial data to obtain the target data.
In an optional implementation manner of some embodiments, before the sending the target data to the external target interface, the target data sending apparatus 500 further includes: an acquisition unit. Wherein the obtaining unit may be configured to: and acquiring interface calling permission information according to a preset time interval.
In an optional implementation manner of some embodiments, the sending unit 504 of the target data sending apparatus 500 may be further configured to: and sending the interface calling permission information and the target data to an external target interface.
It will be understood that the elements described in the apparatus 500 correspond to various steps in the method described with reference to fig. 2. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 500 and the units included therein, and are not described herein again.
Referring now to fig. 6, shown is a schematic diagram of an electronic device 600 suitable for use in implementing some embodiments of the present disclosure. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 6 may represent one device or may represent multiple devices as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
It should be noted that the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving an external callback message; transmitting the external callback message to an internal interface through an external callback message queue; determining target data related to the external callback message through the internal interface; and sending the target data to an external target interface.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor includes a receiving unit, a distributing unit, a determining unit and a transmitting unit. Where the names of these elements do not in some cases constitute a limitation on the element itself, for example, a receiving element may also be described as an "element that receives external callback messages".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.

Claims (10)

1. A method of target data transmission, comprising:
receiving an external callback message;
sending the external callback message to an internal interface through an external callback message queue;
determining, via the internal interface, target data associated with the external callback message;
and sending the target data to an external target interface.
2. The method of claim 1, wherein the receiving an external callback message comprises:
and receiving an external callback message sent to an address represented by the preset mapping domain name.
3. The method of claim 2, wherein said sending the target data to an external target interface comprises:
and sending the target data to an external target interface through the mapping domain name.
4. The method of claim 1, wherein said determining, via said internal interface, target data associated with said external callback message comprises:
calling an internal service through the internal interface to obtain initial data related to the external callback message;
and processing the initial data to obtain the target data.
5. The method of claim 1, wherein prior to said sending the target data to an external target interface, the method further comprises:
and acquiring interface calling permission information according to a preset time interval.
6. The method of claim 4, wherein said sending the target data to an external target interface comprises:
and sending the interface calling permission information and the target data to an external target interface.
7. A target data transmission apparatus comprising:
a receiving unit configured to receive an external callback message;
the issuing unit is configured to issue the external callback message to an internal interface through an external callback message queue;
a determining unit configured to determine, through the internal interface, target data related to the external callback message;
a transmitting unit configured to transmit the target data to an external target interface.
8. The apparatus of claim 7, wherein the determination unit is further configured to:
calling an internal service through the internal interface to obtain initial data related to the external callback message;
and processing the initial data to obtain the target data.
9. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-6.
10. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-6.
CN202110057959.9A 2021-01-15 2021-01-15 Target data sending method, device, electronic equipment and computer readable medium Pending CN113760401A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110057959.9A CN113760401A (en) 2021-01-15 2021-01-15 Target data sending method, device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110057959.9A CN113760401A (en) 2021-01-15 2021-01-15 Target data sending method, device, electronic equipment and computer readable medium

Publications (1)

Publication Number Publication Date
CN113760401A true CN113760401A (en) 2021-12-07

Family

ID=78786397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110057959.9A Pending CN113760401A (en) 2021-01-15 2021-01-15 Target data sending method, device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN113760401A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413424A (en) * 2019-07-24 2019-11-05 深圳乐信软件技术有限公司 Configurable third party's message callback method, device, server and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413424A (en) * 2019-07-24 2019-11-05 深圳乐信软件技术有限公司 Configurable third party's message callback method, device, server and storage medium

Similar Documents

Publication Publication Date Title
CN110008045B (en) Method, device and equipment for aggregating microservices and storage medium
CN110149388B (en) Method, device and equipment for connecting HTTPDNS (hypertext transport protocol version transport protocol DNS) server
WO2022105591A1 (en) Cache server performance test method and apparatus, device, and medium
CN112416632B (en) Event communication method and device, electronic equipment and computer readable medium
CN110430292B (en) Method and device for inviting login of network platform, electronic equipment and readable medium
US7600253B1 (en) Entity correlation service
CN113760536A (en) Data caching method and device, electronic equipment and computer readable medium
CN112702336A (en) Security control method and device for government affair service, security gateway and storage medium
CN110597602B (en) Transaction processing method and device, computer equipment and storage medium
CN113553206B (en) Data event execution method and device, electronic equipment and computer readable medium
CN113760401A (en) Target data sending method, device, electronic equipment and computer readable medium
CN115102992A (en) Data distribution method and device, electronic equipment and computer readable medium
CN114490718A (en) Data output method, data output device, electronic equipment and computer readable medium
CN114785770A (en) Mirror layer file sending method and device, electronic equipment and computer readable medium
CN114115941A (en) Resource sending method, page rendering method, device, electronic equipment and medium
CN112732457A (en) Image transmission method, image transmission device, electronic equipment and computer readable medium
CN113824625B (en) Information interaction method and device
CN114124533B (en) Data interception method, device, electronic equipment and computer readable medium
CN118350814B (en) Method, device, medium and equipment for generating distributed cross-protocol callback transaction
US8738049B1 (en) Converged dialog in hybrid mobile applications
CN113342837B (en) Data transmission method, device, electronic equipment and computer readable medium
CN113792072A (en) Data transmission method, device, electronic equipment and computer readable medium
CN114116859A (en) Number source information sending method and device, electronic equipment and computer readable medium
CN113688181A (en) Data processing method and device, electronic equipment and computer readable medium
CN114444064A (en) Account processing method and device, electronic equipment and computer readable 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