CN112104747B - Request response system based on chain processing - Google Patents

Request response system based on chain processing Download PDF

Info

Publication number
CN112104747B
CN112104747B CN202011184645.7A CN202011184645A CN112104747B CN 112104747 B CN112104747 B CN 112104747B CN 202011184645 A CN202011184645 A CN 202011184645A CN 112104747 B CN112104747 B CN 112104747B
Authority
CN
China
Prior art keywords
request
mobile terminal
service request
mobile
consensus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011184645.7A
Other languages
Chinese (zh)
Other versions
CN112104747A (en
Inventor
李景雄
卢超
李海荣
陈永辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Xuanwu Wireless Technology Co Ltd
Original Assignee
Guangzhou Xuanwu Wireless 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 Guangzhou Xuanwu Wireless Technology Co Ltd filed Critical Guangzhou Xuanwu Wireless Technology Co Ltd
Priority to CN202011184645.7A priority Critical patent/CN112104747B/en
Publication of CN112104747A publication Critical patent/CN112104747A/en
Application granted granted Critical
Publication of CN112104747B publication Critical patent/CN112104747B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a request response system based on chain processing, which is applied to a weak network environment and comprises a server end and a mobile end, wherein the mobile end comprises a request mobile end and an assistance mobile end, the request mobile end sends a service request to each assistance mobile end, and the assistance mobile end combines information provided by a peripheral data consensus analysis engine to package the service request to obtain a chain reaction information body and adds the chain reaction information body into a server slow queue; and after receiving the chain reaction information body, the server performs chain concurrent processing by using a weak network mechanism and notifies the processing result to the mobile terminal. The system utilizes a chain reaction processing mechanism to enable the mobile terminal to more stably and efficiently interact data in a weak network environment, and effectively solves the problems of slow request response and high data transmission failure rate.

Description

Request response system based on chain processing
Technical Field
The invention relates to the technical field of computers, in particular to a request response system based on chain processing.
Background
For enterprise applications mobile, users typically communicate using a wireless network. The mobile terminal service data or the operation result is put into a data queue, and the data queue interacts with a server in a polling push pull mode to finish the end-to-end data processing.
However, wireless network communication is greatly affected by the environment, and under the conditions of high-rise buildings, relatively closed environments, user mobility and the like, the network service quality is often unstable, so that the user frequently communicates in the network environment with weak signals, and the conditions of network disconnection, access blockage, slow network signals and the like occur frequently. The unstable network environment easily causes the delay of the request information transmission or the overlong response time, and the user experience is seriously influenced.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a request response system based on chain processing, which can solve the problems of slow response and high data transmission failure rate of a data processing request of a mobile terminal in a weak network environment, and ensure that business processing is efficiently carried out to the greatest extent.
The embodiment of the invention provides a request response system based on chain processing, which is applied to a weak network environment; the system comprises a server side and a mobile side, wherein the mobile side comprises a mobile requesting side and a mobile assisting side;
the request mobile terminal is used for acquiring service data, generating a service request according to the service data and sending the service request to the assistance mobile terminal;
the assistant mobile terminal is used for receiving the service request and acquiring validity check information of the service request through a peripheral data consensus analysis engine; packaging the service request by combining the validity check information to generate a chain reaction information body, and putting the chain reaction information body into a slow queue of the server in a cooperative manner, wherein the slow queue is a queue with a lower priority;
and the server is used for receiving and analyzing the chain reaction information body, utilizing a weak network mechanism to carry out chain concurrent processing on the assistance request information in the chain reaction information body, and informing the execution result of the chain reaction information body to the request mobile terminal and the assistance mobile terminal.
In one embodiment, the assisting mobile terminal is further configured to, after receiving the execution result notified by the server, place the execution result in a notification queue, and notify the requesting mobile terminal of the execution result.
In one embodiment, the mobile terminal further includes a metadata event sniffer, configured to acquire processing rate and delay information of the service request, so as to automatically diagnose the network.
In one embodiment, the mobile terminal further includes a metadata-driven configuration engine configured to manage metadata configuration information for the service data processing.
In one embodiment, the mobile terminal further includes a weak network analysis engine, configured to record network information of the mobile terminal in each adjacent network segment, and perform data network detection when a response time of a part of the mobile terminals is too long; and determining an assisting mobile terminal according to the distance between the mobile terminals and the network condition obtained by the network detection, and packaging and sending the service request to the assisting mobile terminal.
In one embodiment, the mobile terminal further includes a weak network chain type response engine, configured to parse, encrypt, and sign the service request according to the validity check information, and encapsulate the service request into a chain type reaction information body.
In one embodiment, the peripheral data consensus analysis engine is further configured to split and analyze a service request, so as to provide validity check information for assisting the mobile terminal, where the validity check information includes consensus encryption and consensus components, the consensus encryption is an effective signature list ciphertext of a requester and an apparatus in a plurality of time periods, and the consensus components are a set of internally agreed analyzable verification method code blocks.
In one embodiment, the server is further configured to perform consensus analysis on the consensus component of the received service request by using the weak network mechanism built-in consensus analysis component, and further perform ordered decomposition on service data logic according to a rule
In one embodiment, the server further includes a parallel queue and a top-speed queue for automatically adapting to data processing requirements under different CPU loads and memory occupancy.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method according to any of the above embodiments.
Compared with the prior art, the embodiment of the invention has the beneficial effects that:
(1) by realizing multi-terminal interconnection at the mobile terminal side, the service request can be submitted to the server as long as any one of the mobile terminals is assisted to access the server, and the requirements of high response speed and high processing speed of enterprise mobile application are met;
(2) and a multi-terminal weak network is supported, and a chain reaction processing mechanism is applied to the mobile terminal and a weak network mechanism is applied to the server terminal respectively, so that the service processing request response of each mobile terminal is smooth.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a block diagram of a request response system based on chained processing according to an embodiment of the invention;
FIG. 2 is a diagram illustrating a process for sending a request in a weak network environment according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a data information transmission process according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be understood that the step numbers used herein are for convenience of description only and are not intended as limitations on the order in which the steps are performed.
It is to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
The terms "comprises" and "comprising" indicate the presence of the described features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
The term "and/or" refers to and includes any and all possible combinations of one or more of the associated listed items.
As shown in fig. 1, an embodiment of the present invention provides a request response system based on chained processing, where the system is applied in a weak network environment; the system comprises a server side and a mobile side, wherein the mobile side comprises a mobile requesting side and a mobile assisting side;
the request mobile terminal is used for acquiring service data, generating a service request according to the service data and sending the service request to the assistance mobile terminal;
the assistant mobile terminal is used for receiving the service request and acquiring validity check information of the service request through a peripheral data consensus analysis engine; packaging the service request by combining the validity check information to generate a chain reaction information body, and putting the chain reaction information body into a slow queue of the server in a cooperative manner, wherein the slow queue is a queue with a lower priority;
and the server is used for receiving and analyzing the chain reaction information body, utilizing a weak network mechanism to carry out chain concurrent processing on the assistance request information in the chain reaction information body, and informing the execution result of the chain reaction information body to the request mobile terminal and the assistance mobile terminal.
In one embodiment, the assisting mobile terminal is further configured to, after receiving the execution result notified by the server, place the execution result in a notification queue, and notify the requesting mobile terminal of the execution result.
In one embodiment, the mobile terminal further includes a metadata event sniffer, configured to acquire processing rate and delay information of the service request, so as to automatically diagnose the network.
In one embodiment, the mobile terminal further includes a metadata-driven configuration engine configured to manage metadata configuration information for the service data processing.
Specifically, the metadata-driven configuration engine is further used for data summarization, mapping relationships among business object attributes, processing rules of data exceptions, business logic information, information-driven responses, and the like.
In one embodiment, the mobile terminal further includes a weak network analysis engine, configured to record network information of the mobile terminal in each adjacent network segment, and perform data network detection when a response time of a part of the mobile terminals is too long; and determining an assisting mobile terminal according to the distance between the mobile terminals and the network condition obtained by the network detection, and packaging and sending the service request to the assisting mobile terminal.
Specifically, when the data pushed by the mobile terminal meets the situation of multiple times of abnormal jam without response or slow response, a weak network analysis engine is used for data network detection, namely the network condition is calculated according to the return time difference of an IP data packet sent to each mobile terminal of an adjacent network segment, and the format of the data packet is | packet header | module number | command number | request time | signature | source address | destination address;
the optimal and nearest network segment where the mobile terminal capable of smoothly surfing the internet is located is calculated through the existing network, then data processing information is placed into a low-speed queue built in the mobile terminal, and a weak network link type response engine is waited to be notified, so that the success probability and the processing efficiency of assisting communication are improved.
In one embodiment, the mobile terminal further includes a weak network chain type response engine, configured to parse, encrypt, and sign the service request according to the validity check information, and encapsulate the service request into a chain type reaction information body.
Specifically, the weak network link type response engine obtains a consensus encryption and consensus component by analyzing the validity check information, further analyzes and obtains a requester signature, a key of the service request and the full content of the service request, performs a first round of information authenticity verification, then performs signature verification by using the consensus encrypted common signature list, and judges the validity of service request data; and after the verification is passed, repackaging the service request data according to the consensus component to prepare a chain reaction information body.
Specifically, the chain reaction information body is provided with independent declarations and consensus identifications, and nesting of multiple assisting terminals and multiple requesting terminals can be allowed.
In one embodiment, the peripheral data consensus analysis engine is further configured to split and analyze a service request, so as to provide validity check information for assisting the mobile terminal, where the validity check information includes consensus encryption and consensus components, the consensus encryption is an effective signature list ciphertext of a requester and an apparatus in a plurality of time periods, and the consensus components are a set of internally agreed analyzable verification method code blocks.
In one embodiment, the server is further configured to perform consensus analysis on the consensus component of the received service request by using the weak network mechanism built-in consensus analysis component, and further perform ordered decomposition on service data logic according to a rule
In one embodiment, the server further includes a parallel queue and a top-speed queue for automatically adapting to data processing requirements under different CPU loads and memory occupancy.
Specifically, when the CPU load or the memory occupation is too large, the CPU load or the memory occupation is properly switched to enter a low-speed queuing queue; when the resources are released and the resource occupation is at a low level, the parallel queues are properly switched; the very fast queue only allows access in situations where requests are important or where memory queue processing efficiency is required to be particularly high.
As shown in fig. 2, when metadata of the mobile application end changes or is linked, different mobile ends receive an assisted transmission request through a mutual identification network segment, and an effective declaration consensus between a transmitter and a receiver is ensured through a built-in engine;
the data or information bodies of the mobile terminals for assisting the request processing enter a central data processing system for classification processing, the central data processing system comprises a server, the system disassembles the mapping relation of the metadata, performs series of data processing such as re-verification on the internal validity of the request information body, obtains an execution result, and places the execution result into a message unified notification system for distribution notification.
The message unified notification system is used for distributing message notifications of all data processing, and simultaneously provides an external query subscription function, so that a request mobile terminal can subscribe the query service of the notification system to query the processing result.
As shown in fig. 3, one embodiment of the present invention provides a process for requesting a mobile terminal to send a request in a weak network environment:
when the mobile terminal is requested to confirm that the mobile terminal is in a weak network environment by using dynamic sniffing multiple responses, an assistance request is sent to an application terminal of the same or an adjacent network segment through data network detection, a metadata drive configuration engine of the application terminal is verified by combining with a data consensus analysis engine, the assistance request is sent to a central data processing system and is subjected to request processing, and after the central data processing system finishes data processing or abnormal information occurs in the processing process, the processing result is put into a message notification system queue for unified notification.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method according to any of the above embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which may be stored in a computer-readable storage medium, and may include the processes of the embodiments of the methods when executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (9)

1. A request response system based on chain processing is characterized in that the system is applied in a weak network environment; the system comprises a server side and a mobile side, wherein the mobile side comprises a mobile requesting side and a mobile assisting side;
the request mobile terminal is used for acquiring service data, generating a service request according to the service data and sending the service request to the assistance mobile terminal;
the assistant mobile terminal is used for receiving the service request and acquiring validity check information of the service request through a peripheral data consensus analysis engine; packaging the service request by combining the validity check information to generate a chain reaction information body, and putting the chain reaction information body into a slow queue of the server in a cooperative manner, wherein the slow queue is a queue with a lower priority;
and the server is used for receiving and analyzing the chain reaction information body, utilizing a weak network mechanism to carry out chain concurrent processing on the assistance request information in the chain reaction information body, and informing the execution result of the chain reaction information body to the request mobile terminal and the assistance mobile terminal.
2. The request response system according to claim 1, wherein the assisting mobile station is further configured to, after receiving the execution result notified by the server, place the execution result in a notification queue to notify the requesting mobile station of the execution result.
3. The request response system of claim 1, wherein the requesting mobile terminal further comprises a metadata event sniffer for obtaining processing rate and delay information of the service request, thereby automatically diagnosing the network.
4. The request response system according to claim 1, wherein the requesting mobile terminal further comprises a metadata-driven configuration engine for managing metadata configuration information of the business data processing.
5. The request response system of claim 1, wherein the requesting mobile terminal further comprises a weak network parsing engine for recording network information of the mobile terminals in each adjacent network segment, and performing data network detection when a response time of a part of the mobile terminals is too long; and determining an assisting mobile terminal according to the distance between the mobile terminals and the network condition obtained by the network detection, and packaging and sending the service request to the assisting mobile terminal.
6. The request response system of claim 1, wherein the requesting mobile terminal further comprises a weak network chaining response engine, configured to parse, encrypt, and sign the service request according to the validity check information, and encapsulate the service request into a chaining response information body.
7. The request response system of claim 1, wherein the peripheral data consensus analysis engine is further configured to split and analyze the service request to provide validity check information for assisting the mobile terminal, the validity check information includes consensus encryption and consensus components, the consensus encryption is valid signature list ciphertext of the requesting party and the device in a plurality of time periods, and the consensus components are a set of internally agreed analyzable verification method code blocks.
8. The request response system of claim 1, wherein the server is further configured to perform consensus analysis on the consensus component of the received service request by using a weak network mechanism built-in consensus analysis component, and further perform ordered decomposition on service data logic according to a rule.
9. The request response system of claim 1, wherein the server further comprises a parallel queue and a very fast queue for automatically adapting to data processing requirements under different CPU loads and memory footprints.
CN202011184645.7A 2020-10-30 2020-10-30 Request response system based on chain processing Active CN112104747B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011184645.7A CN112104747B (en) 2020-10-30 2020-10-30 Request response system based on chain processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011184645.7A CN112104747B (en) 2020-10-30 2020-10-30 Request response system based on chain processing

Publications (2)

Publication Number Publication Date
CN112104747A CN112104747A (en) 2020-12-18
CN112104747B true CN112104747B (en) 2021-02-26

Family

ID=73784882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011184645.7A Active CN112104747B (en) 2020-10-30 2020-10-30 Request response system based on chain processing

Country Status (1)

Country Link
CN (1) CN112104747B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109428906B (en) * 2017-08-22 2021-09-10 北京果仁宝软件技术有限责任公司 Request processing method, device, system and terminal
CN108665372B (en) * 2018-04-28 2024-01-16 腾讯科技(深圳)有限公司 Information processing, inquiring and storing method and device based on block chain
CN109325854B (en) * 2018-08-16 2020-11-24 北京京东尚科信息技术有限公司 Block chain network, deployment method and storage medium
CN109657181B (en) * 2018-12-13 2024-05-14 平安科技(深圳)有限公司 Internet information chain storage method, device, computer equipment and storage medium
CN111612458A (en) * 2020-04-30 2020-09-01 深圳壹账通智能科技有限公司 Method and device for processing block chain data and readable storage medium

Also Published As

Publication number Publication date
CN112104747A (en) 2020-12-18

Similar Documents

Publication Publication Date Title
CN110022289B (en) Data transmission method, device and system
CN111741114A (en) System, method and equipment capable of monitoring cross-chain interaction based on block chain
CN112243002B (en) Data forwarding method, device, electronic equipment and computer readable medium
CN113067882A (en) Message processing method and device, electronic equipment and medium
MX2007010921A (en) Method for communication between an application and a client.
US20060182129A1 (en) Distributed markup and processing apparatus and method
US20120179840A1 (en) System and method for distributed content transformation
CN112217738B (en) Flow control method, system, storage medium and terminal for travel data service
CN105991412A (en) Method and device for pushing message
CN112702336A (en) Security control method and device for government affair service, security gateway and storage medium
CN114221995A (en) Service calling method and device and electronic equipment
CN110597920B (en) Information processing method and device
CN113342503B (en) Real-time progress feedback method, device, equipment and storage medium
CN115086394A (en) Service information processing method and device and electronic equipment
CN112104747B (en) Request response system based on chain processing
CN113965628A (en) Message scheduling method, server and storage medium
Saiedian et al. Performance evaluation of eventing web services in real-time applications
CN115374207A (en) Service processing method and device, electronic equipment and computer readable storage medium
CN114422496A (en) Mass traffic data processing system and method
CN109582481B (en) Transmission method, device and equipment of call result and storage medium
CN112395647A (en) Block chain light node data acquisition system
CN109688204B (en) File downloading method, node and terminal based on NDN (named data networking)
CN113094002A (en) Message processing method and device, electronic equipment and computer medium
CN113411250B (en) Real-time message processing method, system, equipment and storage medium
CN111240867A (en) Information communication system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 510000 room 23bd, No. 109, TIYU West Road, Tianhe District, Guangzhou City, Guangdong Province

Patentee after: GUANGZHOU XUANWU WIRELESS TECHNOLOGY Co.,Ltd.

Address before: 32B, no.103b, TianLiHe Road, Guangzhou, 510000

Patentee before: GUANGZHOU XUANWU WIRELESS TECHNOLOGY Co.,Ltd.