CN117640731A - Message cascade communication method, device, equipment and storage medium of edge weak network - Google Patents

Message cascade communication method, device, equipment and storage medium of edge weak network Download PDF

Info

Publication number
CN117640731A
CN117640731A CN202311600434.0A CN202311600434A CN117640731A CN 117640731 A CN117640731 A CN 117640731A CN 202311600434 A CN202311600434 A CN 202311600434A CN 117640731 A CN117640731 A CN 117640731A
Authority
CN
China
Prior art keywords
information
message
edge
site
utilizing
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
CN202311600434.0A
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.)
China Merchants Finance Technology Co Ltd
Original Assignee
China Merchants Finance 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 China Merchants Finance Technology Co Ltd filed Critical China Merchants Finance Technology Co Ltd
Priority to CN202311600434.0A priority Critical patent/CN117640731A/en
Publication of CN117640731A publication Critical patent/CN117640731A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to an information communication technology and discloses a message cascade communication method, device, equipment and storage medium of an edge weak network. The method comprises the following steps: acquiring an information packet generated by an edge site corresponding to a message service by utilizing an API layer of the pre-constructed message service; utilizing a driving layer of the information service to disassemble a message theme in the information packet to obtain a sending mode, target site information and a site ID of the edge site; and constructing the information transmission queue according to the sending mode, the target site information and the site ID of the edge site by utilizing the information queue layer of the information service, and broadcasting the information to be transmitted in the information packet by utilizing the information transmission queue. The invention can increase the reliability of data communication in the weak network edge computing scene and improve the operation and maintenance efficiency of the edge computing system.

Description

Message cascade communication method, device, equipment and storage medium of edge weak network
Technical Field
The present invention relates to the field of information communications technologies, and in particular, to a method, an apparatus, a device, and a computer readable storage medium for message cascade communications in an edge weak network.
Background
With the development of information communication technology, edge computation is gradually rising. The edge calculation is a method for providing nearest service nearby, an application program of the method is initiated at the edge side, a faster network service response is generated, and the requirements of industry on real-time service and application intelligence are met.
However, in the edge computing scenario, there are scenarios in which the edge sites communicate with each other, and in which the edge sites communicate with the central site, not only the edge data size is large, and a certain concurrency needs to be supported, but also the edge sites are mostly weak network scenarios, so that messages are often lost or stacked, and in addition, the communication between the edge sites is limited by the types of different services in the edge scenario, and the personalized communication code configuration is not beneficial to the operation and maintenance of the edge computing system.
Disclosure of Invention
The invention provides a message cascade communication method, device, equipment and storage medium of an edge weak network, which mainly aim to increase the reliability of data communication in a weak network edge computing scene and improve the operation and maintenance efficiency of an edge computing system.
In order to achieve the above object, the present invention provides a message cascade communication method for an edge weak network, including:
acquiring an information packet generated by an edge site corresponding to a message service by utilizing an API layer of the pre-constructed message service;
utilizing a driving layer of the information service to disassemble a message theme in the information packet to obtain a sending mode, target site information and a site ID of the edge site;
and constructing the information transmission queue according to the sending mode, the target site information and the site ID of the edge site by utilizing the information queue layer of the information service, and broadcasting the information to be transmitted in the information packet by utilizing the information transmission queue.
Optionally, the broadcasting the information to be transferred in the information packet by using the information transmission queue includes:
performing idempotent processing on the message to be transmitted to obtain a unique message to be transmitted, and configuring a unique ID for the unique message to be transmitted;
and broadcasting the configured unique message to be transmitted by utilizing the information transmission queue.
Optionally, after broadcasting the information to be delivered in the information packet by using the information transmission queue, the method further includes:
judging whether acknowledgement information generated by a target site is received in a target time period;
when confirmation information is received and matched with the unique ID, deleting the information to be transmitted corresponding to the unique ID;
and when the confirmation information is not received, rebroadcasting the information to be transferred corresponding to the unique ID.
Optionally, after broadcasting the information to be delivered in the information packet by using the information transmission queue, the method further includes:
judging whether the communication between the message service of the edge station and the message service of the target station is disconnected or not;
and when the communication is disconnected, storing the information packet into a pre-built edge database.
Optionally, before the API layer of the message service is pre-constructed, the method further includes:
constructing a message service by utilizing a pre-constructed API layer, a driving layer and a message queue layer;
configuring one message service on each edge site in the pre-constructed edge computing platform;
and constructing cascade information communication between the message services.
Alternatively, the message cascade communication between the message services may be full duplex.
In order to solve the above problem, the present invention further provides a message cascade communication apparatus of an edge weak network, the apparatus comprising:
the information package acquisition module is used for acquiring an information package generated by an edge site corresponding to the message service by utilizing an API layer of the pre-constructed message service;
the theme disassembling operation is used for disassembling the message theme in the information package by utilizing the driving layer of the information service to obtain a sending mode, target site information and the site ID of the edge site;
and the information to be transmitted broadcasting module is used for constructing the information transmission queue according to the sending mode, the target site information and the site ID of the edge site by utilizing the information queue layer of the information service, and broadcasting the information to be transmitted in the information packet by utilizing the information transmission queue.
Optionally, the broadcasting the information to be transferred in the information packet by using the information transmission queue includes:
performing idempotent processing on the message to be transmitted to obtain a unique message to be transmitted, and configuring a unique ID for the unique message to be transmitted;
and broadcasting the configured unique message to be transmitted by utilizing the information transmission queue.
In order to solve the above-mentioned problems, the present invention also provides an electronic apparatus including:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the message cascade communication method of the edge weak network described above.
In order to solve the above-mentioned problems, the present invention also provides a computer-readable storage medium having stored therein at least one computer program that is executed by a processor in an electronic device to implement the above-mentioned message cascade communication method of an edge weak network.
According to the embodiment of the invention, through the communication among the message services, the communication among the edge sites under the edge computing system is replaced, the unreliable communication of the edge sites under the weak network environment is converted into the unreliable communication of the message service under the weak network environment, then the message stacking under the condition of network disconnection is supported through the configuration of a driver of the message service, and the message support concurrency under the networking condition is further realized, so that the reliable communication of the message service is realized; in addition, in the embodiment of the invention, the message service is decoupled and bound with the specific edge computing scene, so that when the system is required to be changed, the message service is only required to be updated, the business of the edge site is not influenced, and the operation and maintenance of the edge computing system are convenient. Therefore, the message cascade communication method, device, equipment and storage medium for the edge weak network provided by the embodiment of the invention can increase the reliability of data communication in the weak network edge computing scene and improve the operation and maintenance efficiency of an edge computing system.
Drawings
Fig. 1 is a flow chart of a message cascade communication method of an edge weak network according to an embodiment of the present invention;
fig. 2 is a detailed flowchart of one step in a message cascade communication method of an edge weak network according to an embodiment of the present invention;
FIG. 3 is a functional block diagram of a message cascade communication apparatus for an edge weak network according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device implementing the message cascade communication method of the edge weak network according to an embodiment of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The embodiment of the application provides a message cascade communication method of an edge weak network. In the embodiment of the present application, the execution body of the message cascade communication method of the edge weak network includes, but is not limited to, at least one of a server, a terminal, and the like, which can be configured to execute the method provided in the embodiment of the present application. In other words, the message cascade communication method of the edge weak network may be performed by software or hardware installed in a terminal device or a server device, and the software may be a blockchain platform. The service end includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like. The server may be an independent server, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
Referring to fig. 1, a flow chart of a message cascade communication method of an edge weak network according to an embodiment of the invention is shown. In this embodiment, the message cascade communication method of the edge weak network includes:
s1, acquiring an information packet generated by an edge site corresponding to a message service by utilizing an API layer of the pre-constructed message service.
The message service in the embodiment of the invention comprises an API layer, a driving layer and a message queue layer, wherein the API layer is used for realizing information interaction between an edge site and the message service; the driving layer is intersected with the API and is used for abstracting resources, shielding the complexity of information transmission in different edge sites, and executing the decision of whether data transmission is successful or not and whether the data edge database is needed to be stored or not; the message queue layer is an execution layer of data transmission, various transmission processes can be realized through different information transmission queues, the message queues such as a main stream message middleware Kafka, rabbitmq and the like can be freely selected, and the self-research queue can be used, so that the method is convenient and flexible.
Further, in the embodiment of the present invention, the information packet is edge data and a message theme generated by an edge site.
In detail, in an embodiment of the present invention, before the API layer of the pre-constructed message service is utilized, the method further includes:
constructing a message service by utilizing a pre-constructed API layer, a driving layer and a message queue layer;
configuring one message service on each edge site in the pre-constructed edge computing platform;
and constructing cascade information communication between the message services.
In the embodiment of the invention, after the message service is constructed, the communication among the message services is utilized to replace the communication among the edge stations under the edge computing system, so that the unreliable communication of the edge stations under the weak network environment is converted into the unreliable communication of the message service under the weak network environment. The unreliable communication of the message service can be perfected through follow-up protocols, conventions and the like, the reliable communication is changed, the message service is changed, the business of each edge site is not affected, and the maintenance of codes and the operation and maintenance of a system are facilitated.
Furthermore, in the embodiment of the present invention, the information communication between the message services in the weak network edge computing scenario may be full duplex.
S2, utilizing the driving layer of the information service to disassemble the message subject in the information package to obtain a sending mode, target site information and the site ID of the edge site.
In the embodiment of the invention, the message theme comprises information such as a broadcasting direction, a communication mode and the like which are expected to be executed, and the embodiment of the invention disassembles the message theme to obtain a ternary information combination such as a site ID-sending mode-target site. Wherein, the sending mode includes unicast, upward broadcast, global broadcast and the like; the destination station information includes at least an ID number of the destination station.
In addition, in the embodiment of the present invention, the core mechanism in the driving layer is set to solve the unstable factors of the network, automatic reconnection and message stacking, and message forwarding scenarios.
S3, constructing the information transmission queue by utilizing the information queue layer of the information service according to the sending mode, the target site information and the site ID of the edge site, and broadcasting the information to be transmitted in the information packet by utilizing the information transmission queue.
In the embodiment of the invention, the information transmission queue includes the target site of the message receiver, the broadcasting mode and the site ID information of the edge site, so that the information transmission operation can be directly performed.
In detail, referring to fig. 2, in the embodiment of the present invention, broadcasting the information to be transferred in the information packet by using the information transmission queue includes:
s31, performing idempotent processing on the message to be transmitted to obtain a unique message to be transmitted, and configuring a unique ID for the unique message to be transmitted;
s32, broadcasting the configured unique message to be transmitted by utilizing the information transmission queue.
In the embodiment of the invention, the idempotency is that the result of one request or multiple requests initiated by the user for the same operation is consistent, and no side effect is generated due to multiple clicks, that is, in the embodiment of the invention, if the information transmission channel is disconnected, the information service does not repeatedly send the data which is not transmitted, but numbers the information to be transmitted through a unique ID, so that the information to be transmitted in the queue is ensured to have only one group of data with the number, and the data stack is not caused.
Further, in an embodiment of the present invention, after broadcasting the information to be transferred in the information packet by using the information transmission queue, the method further includes:
judging whether acknowledgement information generated by a target site is received in a target time period;
when confirmation information is received and matched with the unique ID, deleting the information to be transmitted corresponding to the unique ID;
and when the confirmation information is not received, rebroadcasting the information to be transferred corresponding to the unique ID.
According to the embodiment of the invention, whether the information to be transmitted reaches the target site can be effectively identified through the unique ID. When a piece of information to be transferred reaches a target site, the target site generates a piece of confirmation information about the unique ID of the information to be transferred and sends the confirmation information to a message service (namely an information sender) corresponding to the site ID, at the moment, the message service knows that the information to be transferred corresponding to the unique ID is already sent, and deletes the information to be transferred corresponding to the unique ID in a queue, stops broadcasting to the target site, and avoids the target site from receiving repeated data.
In addition, in the embodiment of the present invention, after broadcasting the information to be transferred in the information packet by using the information transmission queue, the method further includes:
judging whether the communication between the message service of the edge station and the message service of the target station is disconnected or not;
and when the communication is disconnected, storing the information packet into a pre-built edge database.
In the embodiment of the invention, the information communication under the weak network edge computing environment is easy to break, at this time, the embodiment of the invention can save the information which is being transmitted and not transmitted into the pre-constructed edge database, and after the communication is switched on again, the data broadcasting is carried out again according to each unique ID in the edge database, so as to solve the unstable factors of the network.
According to the embodiment of the invention, through the communication among the message services, the communication among the edge sites under the edge computing system is replaced, the unreliable communication of the edge sites under the weak network environment is converted into the unreliable communication of the message service under the weak network environment, then the message stacking under the condition of network disconnection is supported through the configuration of a driver of the message service, and the message support concurrency under the networking condition is further realized, so that the reliable communication of the message service is realized; in addition, in the embodiment of the invention, the message service is decoupled and bound with the specific edge computing scene, so that when the system is required to be changed, the message service is only required to be updated, the business of the edge site is not influenced, and the operation and maintenance of the edge computing system are convenient. Therefore, the message cascade communication method of the edge weak network provided by the embodiment of the invention can increase the reliability of data communication in the weak network edge computing scene and improve the operation and maintenance efficiency of an edge computing system.
Fig. 3 is a functional block diagram of a message cascade communication apparatus of an edge weak network according to an embodiment of the present invention.
The message cascade communication apparatus 100 of the edge weak network according to the present invention may be installed in an electronic device. Depending on the implementation function, the message cascade communication apparatus 100 of the edge weak network may include a packet acquisition module 101, a topic disassembly operation 102, and a to-be-delivered information broadcasting module 103. The module of the invention, which may also be referred to as a unit, refers to a series of computer program segments, which are stored in the memory of the electronic device, capable of being executed by the processor of the electronic device and of performing a fixed function.
In the present embodiment, the functions concerning the respective modules/units are as follows:
the information packet obtaining module 101 is configured to obtain an information packet generated by an edge site corresponding to a message service by using an API layer of the pre-constructed message service;
the topic disassembly operation 102 is configured to disassemble a message topic in the information packet by using a driver layer of the information service to obtain a transmission mode, target site information and a site ID of the edge site;
the information to be transmitted broadcasting module 103 is configured to construct the information transmission queue according to the sending mode, the target site information and the site ID of the edge site by using the message queue layer of the information service, and broadcast the information to be transmitted in the information packet by using the information transmission queue.
In detail, each module in the message cascade communication apparatus 100 of the edge weak network in the embodiment of the present application adopts the same technical means as the message cascade communication method of the edge weak network described in fig. 1 to 2, and can produce the same technical effects, which are not described herein.
Fig. 4 is a schematic structural diagram of an electronic device 1 implementing a message cascade communication method of an edge weak network according to an embodiment of the present invention.
The electronic device 1 may comprise a processor 10, a memory 11, a communication bus 12 and a communication interface 13, and may further comprise a computer program stored in the memory 11 and executable on the processor 10, such as a message concatenation communication program of an edge weak network.
The processor 10 may be formed by an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be formed by a plurality of integrated circuits packaged with the same function or different functions, including one or more central processing units (Central Processing Unit, CPU), a microprocessor, a digital processing chip, a graphics processor, a combination of various control chips, and so on. The processor 10 is a Control Unit (Control Unit) of the electronic device 1, connects respective parts of the entire electronic device using various interfaces and lines, executes various functions of the electronic device and processes data by running or executing programs or modules stored in the memory 11 (for example, executing a message concatenation communication program of an edge weak network, etc.), and calls data stored in the memory 11.
The memory 11 includes at least one type of readable storage medium including flash memory, a removable hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device, such as a mobile hard disk of the electronic device. The memory 11 may in other embodiments also be an external storage device of the electronic device, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the electronic device. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device. The memory 11 may be used not only for storing application software installed in an electronic device and various types of data, such as codes of a message concatenation communication program of an edge weak network, etc., but also for temporarily storing data that has been output or is to be output.
The communication bus 12 may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. The bus is arranged to enable a connection communication between the memory 11 and at least one processor 10 etc.
The communication interface 13 is used for communication between the electronic device 1 and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and/or a wireless interface (e.g., WI-FI interface, bluetooth interface, etc.), typically used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a Display (Display), an input unit such as a Keyboard (Keyboard), or alternatively a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the electronic device and for displaying a visual user interface.
Fig. 4 shows only an electronic device with components, it being understood by a person skilled in the art that the structure shown in fig. 4 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than shown, or may combine certain components, or may be arranged in different components.
For example, although not shown, the electronic device 1 may further include a power source (such as a battery) for supplying power to each component, and preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that functions of charge management, discharge management, power consumption management, and the like are implemented through the power management device. The power supply may also include one or more of any of a direct current or alternating current power supply, recharging device, power failure detection circuit, power converter or inverter, power status indicator, etc. The electronic device 1 may further include various sensors, bluetooth modules, wi-Fi modules, etc., which will not be described herein.
It should be understood that the embodiments described are for illustrative purposes only and are not limited to this configuration in the scope of the patent application.
The message cascade communication program of the edge weak network stored in the memory 11 of the electronic device 1 is a combination of instructions which, when run in the processor 10, can implement:
acquiring an information packet generated by an edge site corresponding to a message service by utilizing an API layer of the pre-constructed message service;
utilizing a driving layer of the information service to disassemble a message theme in the information packet to obtain a sending mode, target site information and a site ID of the edge site;
and constructing the information transmission queue according to the sending mode, the target site information and the site ID of the edge site by utilizing the information queue layer of the information service, and broadcasting the information to be transmitted in the information packet by utilizing the information transmission queue.
In particular, the specific implementation method of the above instructions by the processor 10 may refer to the description of the relevant steps in the corresponding embodiment of the drawings, which is not repeated herein.
Further, the modules/units integrated in the electronic device 1 may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as separate products. The computer readable storage medium may be volatile or nonvolatile. For example, the computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM).
The present invention also provides a computer readable storage medium storing a computer program which, when executed by a processor of an electronic device, can implement:
acquiring an information packet generated by an edge site corresponding to a message service by utilizing an API layer of the pre-constructed message service;
utilizing a driving layer of the information service to disassemble a message theme in the information packet to obtain a sending mode, target site information and a site ID of the edge site;
and constructing the information transmission queue according to the sending mode, the target site information and the site ID of the edge site by utilizing the information queue layer of the information service, and broadcasting the information to be transmitted in the information packet by utilizing the information transmission queue.
In the several embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.
The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
The embodiment of the application can acquire and process the related data based on the artificial intelligence technology. Among these, artificial intelligence (Artificial Intelligence, AI) is the theory, method, technique and application system that uses a digital computer or a digital computer-controlled machine to simulate, extend and extend human intelligence, sense the environment, acquire knowledge and use knowledge to obtain optimal results.
Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. A plurality of units or means recited in the system claims can also be implemented by means of software or hardware by means of one unit or means. The terms first, second, etc. are used to denote a name, but not any particular order.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.

Claims (10)

1. A method of message cascading communication for an edge weak network, the method comprising:
acquiring an information packet generated by an edge site corresponding to a message service by utilizing an API layer of the pre-constructed message service;
utilizing a driving layer of the information service to disassemble a message theme in the information packet to obtain a sending mode, target site information and a site ID of the edge site;
and constructing the information transmission queue according to the sending mode, the target site information and the site ID of the edge site by utilizing the information queue layer of the information service, and broadcasting the information to be transmitted in the information packet by utilizing the information transmission queue.
2. The method for message cascade communication of an edge weak network according to claim 1, wherein broadcasting the information to be delivered in the packet using the information transmission queue comprises:
performing idempotent processing on the message to be transmitted to obtain a unique message to be transmitted, and configuring a unique ID for the unique message to be transmitted;
and broadcasting the configured unique message to be transmitted by utilizing the information transmission queue.
3. The method for message cascade communication of an edge weak network according to claim 2, wherein after broadcasting the information to be delivered in the packet using the information transmission queue, the method further comprises:
judging whether acknowledgement information generated by a target site is received in a target time period;
when confirmation information is received and matched with the unique ID, deleting the information to be transmitted corresponding to the unique ID;
and when the confirmation information is not received, rebroadcasting the information to be transferred corresponding to the unique ID.
4. The method for message cascading communication in an edge weak network according to claim 1, wherein after broadcasting the information to be delivered in the information packet using the information transmission queue, the method further comprises:
judging whether the communication between the message service of the edge station and the message service of the target station is disconnected or not;
and when the communication is disconnected, storing the information packet into a pre-built edge database.
5. The method of message cascading communication for an edge weak network of claim 1, wherein prior to said utilizing the API layer of the pre-built message service, the method further comprises:
constructing a message service by utilizing a pre-constructed API layer, a driving layer and a message queue layer;
configuring one message service on each edge site in the pre-constructed edge computing platform;
and constructing cascade information communication between the message services.
6. A method of message tandem communication for an edge weak network according to claim 1, wherein the message tandem communication between the message services may be full duplex.
7. A message tandem communication apparatus of an edge weak network, the apparatus comprising:
the information package acquisition module is used for acquiring an information package generated by an edge site corresponding to the message service by utilizing an API layer of the pre-constructed message service;
the theme disassembling operation is used for disassembling the message theme in the information package by utilizing the driving layer of the information service to obtain a sending mode, target site information and the site ID of the edge site;
and the information to be transmitted broadcasting module is used for constructing the information transmission queue according to the sending mode, the target site information and the site ID of the edge site by utilizing the information queue layer of the information service, and broadcasting the information to be transmitted in the information packet by utilizing the information transmission queue.
8. The message tandem communication apparatus of an edge weak network of claim 7, wherein broadcasting the information to be delivered in the packet using the information transmission queue comprises:
performing idempotent processing on the message to be transmitted to obtain a unique message to be transmitted, and configuring a unique ID for the unique message to be transmitted;
and broadcasting the configured unique message to be transmitted by utilizing the information transmission queue.
9. An electronic device, the electronic device comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the message cascade communication method of the edge weak network of any one of claims 1 to 6.
10. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements a method of message cascading communication for an edge weak network according to any one of claims 1 to 6.
CN202311600434.0A 2023-11-24 2023-11-24 Message cascade communication method, device, equipment and storage medium of edge weak network Pending CN117640731A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311600434.0A CN117640731A (en) 2023-11-24 2023-11-24 Message cascade communication method, device, equipment and storage medium of edge weak network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311600434.0A CN117640731A (en) 2023-11-24 2023-11-24 Message cascade communication method, device, equipment and storage medium of edge weak network

Publications (1)

Publication Number Publication Date
CN117640731A true CN117640731A (en) 2024-03-01

Family

ID=90035118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311600434.0A Pending CN117640731A (en) 2023-11-24 2023-11-24 Message cascade communication method, device, equipment and storage medium of edge weak network

Country Status (1)

Country Link
CN (1) CN117640731A (en)

Similar Documents

Publication Publication Date Title
US20220239496A1 (en) Blockchain consensus method, device and system
WO2021031473A1 (en) Blockchain asset processing method based on multiple asset models and related device
CN101686145A (en) Equipment capable of upgrading, upgrading method and system
CN114035987A (en) Data transmission method and device based on message queue, electronic equipment and medium
CN113179324A (en) Block chain node and service processing method executed by same
CN109348434A (en) A kind of sending method of scene information, sending device and terminal device
CN112486825A (en) Multi-lane environment architecture system, message consumption method, device, equipment and medium
CN104184729A (en) Message processing method and device
CN114125024B (en) Audio transmission method, electronic device and readable storage medium
CN117640731A (en) Message cascade communication method, device, equipment and storage medium of edge weak network
WO2016074572A1 (en) Service data processing method, device and system
CN112540839B (en) Information changing method, device, electronic equipment and storage medium
CN115174555A (en) File transmission method and device, electronic equipment and storage medium
CN111353811B (en) Unified resource issuing method and system
CN113779021A (en) Data processing method, device, computer system and readable storage medium
CN105871917A (en) Transmission control protocol TCP connection scheduling method and device
CN111338642A (en) Method, device, terminal and storage medium for determining application downloading path
CN114389988B (en) Remote procedure call method, device, equipment and medium based on network architecture
CN116527771A (en) Method, device, equipment and storage medium for rapidly transferring service information
CN115086400B (en) Message interaction method and device, electronic equipment and storage medium
CN113452703B (en) Combined communication request response method and device, electronic equipment and readable storage medium
CN116455997A (en) STEP market multipath forwarding method, STEP market multipath forwarding device, STEP market multipath forwarding equipment and STEP market multipath forwarding medium
CN115378991B (en) Message processing method, device, equipment and computer storage medium
CN118037453B (en) Order processing method, device, equipment and medium of transaction system
CN115002100B (en) File transmission 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