CN105577930A - Hypertext protocol processing system and method - Google Patents

Hypertext protocol processing system and method Download PDF

Info

Publication number
CN105577930A
CN105577930A CN201510988983.9A CN201510988983A CN105577930A CN 105577930 A CN105577930 A CN 105577930A CN 201510988983 A CN201510988983 A CN 201510988983A CN 105577930 A CN105577930 A CN 105577930A
Authority
CN
China
Prior art keywords
request
solicited message
interface unit
information
subelement
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.)
Granted
Application number
CN201510988983.9A
Other languages
Chinese (zh)
Other versions
CN105577930B (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.)
Shenzhen Huaxun Ark Photoelectric Technology Co ltd
Original Assignee
Shenzhen Huaxun Fangzhou Software Information Science & Technology Co Ltd
Shenzhen Huaxun Ark 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 Shenzhen Huaxun Fangzhou Software Information Science & Technology Co Ltd, Shenzhen Huaxun Ark Technology Co Ltd filed Critical Shenzhen Huaxun Fangzhou Software Information Science & Technology Co Ltd
Priority to CN201510988983.9A priority Critical patent/CN105577930B/en
Publication of CN105577930A publication Critical patent/CN105577930A/en
Application granted granted Critical
Publication of CN105577930B publication Critical patent/CN105577930B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72445User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting Internet browser applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a hypertext transfer protocol processing system and method. The hypertext transfer protocol processing system is characterized by comprising a common interface unit, a common processing unit, a processing subunit and a receiving-transmitting unit, wherein the common interface unit is used for receiving request information and judging the state of a network; the common processing unit is used for generating and managing at least one corresponding processing subunit according to the request information; the processing subunit is used for processing the request information and feedback information; the receiving-transmitting unit is used for transmitting the request information and receiving the feedback information; all request information is received by a uniform common interface unit, and the common processing unit creates a subunit to process requests. According to the hypertext transfer protocol processing system and method, repeated edition of the content of the common interface unit according to each request is not needed, request processing methods can be uniformly managed and maintained, multiple request information can be processed in parallel, and independent establishment of a whole request processing procedure for each request are not needed.

Description

Hyper text protocol treatment system and method
Technical field
The present invention relates to a kind of HTML (Hypertext Markup Language) treatment system and method.
Background technology
Now, smart mobile phone becomes a part for our life already, and the application software (App) be arranged on smart mobile phone carries our clothing, food, shelter, OK especially.App will complete so complexity, intelligent need of work and employ a large amount of network requests and connect, network layer relatively more conventional in current IOS system has the primary network layer of IOS, AFNetWorking network layer, but these two frameworks all just assume responsibility for the work that HTML (Hypertext Markup Language) (Http) is asked, these request managements are not got up, easily get muddled time process is asked in a large number; Such as: each service logic or each interface, all need to set up a request from the beginning to the end, the specific aim that the exception of request in this case and cancellation are asked and uniformity all can go wrong, and even occur unpredictable problem.
Summary of the invention
The object of this invention is to provide a kind of HTML (Hypertext Markup Language) treatment system and method, to solve each service logic or each interface, all need the technical problem setting up a full request.
For realizing above goal of the invention, the invention provides a kind of HTML (Hypertext Markup Language) treatment system, comprising common interface unit, common control unit, process subelement and Transmit-Receive Unit;
Described common interface unit, for receiving solicited message, and judges network state;
Described common control unit, processes subelement accordingly for generating according to solicited message and manage at least one;
Described process subelement, for the treatment of solicited message and feedback information;
Described Transmit-Receive Unit, for transmission request information and reception feedback information;
Described common interface unit is connected with common control unit, and described common control unit is connected with process subelement, and described process subelement is connected with Transmit-Receive Unit.
On the other hand, the invention provides a kind of HTML (Hypertext Markup Language) processing method, concrete steps are as follows:
Step S1: common interface unit receives solicited message;
Step S2: common interface unit judges current network state;
If when network is normal, then perform step S3;
If during Network Abnormal, then directly return;
Step S3: solicited message is passed to common control unit by common interface unit;
Step S4: common control unit is set up according to described request information and processed subelement accordingly;
Step S5: process subelement generates request address information by described request information;
Step S6: request address information is carried out parameter integration process by process subelement;
Step S7: the request address information after described integration process is passed to Transmit-Receive Unit by process subelement;
Step S8: the request address information after described integration process is sent to server by Transmit-Receive Unit, and waiting for server feedback information;
Step S9: Transmit-Receive Unit receives described feedback information, and described feedback information is passed to process subelement;
Step S10: described feedback information resolved by process subelement, and returns analysis result, completes request process.
Further, in described step S1, the method for common interface unit reception solicited message comprises, and receives solicited message by the method for barrage reception.
Further, process subelement in described step S6 and the method that request address information carries out parameter integration process is comprised, parameter is spliced to request address information rear portion, the request address information after composition integration.
Compared with prior art, the invention has the beneficial effects as follows:
1. use unified common interface unit to receive the technical scheme of solicited message, obtain the technique effect without the need to updating common interface location contents for each request;
2. use the technical scheme of unified common control unit respective request information, obtaining can unified management and the unified technique effect safeguarded to request processing method;
3. use common interface unit reception solicited message and common control unit to set up the technical scheme of corresponding process subelement according to solicited message, obtaining can the multiple solicited message of parallel processing, without the need to setting up separately the technique effect of a whole piece process request process for each request.
Accompanying drawing explanation
Fig. 1 is the block diagram of HTML (Hypertext Markup Language) treatment system of the present invention;
Fig. 2 is the flow chart of HTML (Hypertext Markup Language) processing method of the present invention;
Fig. 3 is the specific embodiment flow chart of HTML (Hypertext Markup Language) processing method of the present invention.
In figure;
Common interface unit 1; Common control unit 2; Process subelement 3; Transmit-Receive Unit 4.
Embodiment
Below in conjunction with the drawings and specific embodiments, the invention will be further described.
Embodiment 1:
As described in Figure 1, HTML (Hypertext Markup Language) treatment system of the present invention, comprises common interface unit, common control unit, process subelement and Transmit-Receive Unit;
Common interface unit 1, for receiving solicited message, and judges network state;
Common control unit 2, processes subelement accordingly for generating according to solicited message and manage at least one;
Process subelement 3, for the treatment of solicited message and feedback information;
Transmit-Receive Unit 4, for transmission request information and reception feedback information;
Common interface unit 1 is connected with common control unit 2, and common control unit 2 is connected with process subelement 3, and process subelement 3 is connected with Transmit-Receive Unit 4.
As shown in Figure 2, HTML (Hypertext Markup Language) processing method of the present invention, concrete steps are as follows:
Step S1: common interface unit 1 receives solicited message;
Step S2: common interface unit 1 judges current network state;
If when network is normal, then perform step S3;
If during Network Abnormal, then directly return;
Step S3: solicited message is passed to common control unit 2 by common interface unit 1;
Step S4: common control unit 2 sets up corresponding process subelement 3 according to described request information;
Step S5: process subelement 3 generates request address information by described request information;
Step S6: request address information is carried out parameter integration process by process subelement 3;
Step S7: the request address information after described integration process is passed to Transmit-Receive Unit 4 by process subelement 3;
Step S8: the request address information after described integration process is sent to server by Transmit-Receive Unit 4, and waiting for server feedback information;
Step S9: Transmit-Receive Unit 4 receives described feedback information, and described feedback information is passed to process subelement 3;
Step S10: described feedback information resolved by process subelement 3, and returns analysis result, completes request process;
Specifically, when there being one or more solicited message to be delivered to common interface unit 1, common interface unit 1 receives these solicited messages, and solicited message is passed to common control unit 2, common control unit 2 sets up the process subelement 3 of corresponding process solicited message by solicited message, process subelement 3 first generates the address information of solicited message according to solicited message, again request address information is carried out parameter integration process, generate one and integrate the request address information after processing, Transmit-Receive Unit 4 is sent to server by integrating the request address information after processing, server feeds back according to solicited message, Transmit-Receive Unit 4 receives feedback information and transfers to process subelement 3 to carry out feedback information parsing, analysis result returns by process subelement 3, complete whole request process.
Embodiment 2:
As shown in Figure 2, HTML (Hypertext Markup Language) processing method of the present invention, concrete steps are as follows:
Steps A 1: common interface unit 1 receives solicited message by the method for barrage reception;
Steps A 2: common interface unit 1 judges current network state;
If when network is normal, then perform steps A 3;
If during Network Abnormal, then directly return;
Steps A 3: solicited message is passed to common control unit by common interface unit 2;
Steps A 4: common control unit 2 sets up corresponding process subelement 3 according to described request information;
Steps A 5: process subelement 3 generates request address information by described request information;
Steps A 6: parameter is spliced to request address information rear portion by process subelement 3, the request address information after composition integration;
Steps A 7: the request address information after described integration process is passed to Transmit-Receive Unit by process subelement 3;
Steps A 8: the request address information after described integration process is sent to server by Transmit-Receive Unit 4, and waiting for server feedback information;
Steps A 9: Transmit-Receive Unit 4 receives described feedback information, and described feedback information is passed to process subelement 3;
Steps A 10: described feedback information resolved by process subelement 3, and returns analysis result, completes request process;
Specifically, in described embodiment 2, steps A 1 is equivalent to specializing further of step S1 in embodiment 1, and in described embodiment 2, steps A 6 is equivalent to specializing further of step S6 in embodiment 1.In specific embodiment 2, other steps are roughly the same with corresponding steps in specific embodiment 1.
Common interface unit 1 receives solicited message with the method for barrage reception.Request address information and parameter are carried out splicing by process subelement 3, parameter are spliced the rear portion to request address information, the solicited message after formation processing.
Below illustrate:
Such as request is that news obtains solicited message, common reception unit receives news by the mode of barrage reception and obtains solicited message, after receiving this solicited message, news is obtained solicited message and passes to common control unit, common control unit sets up process subelement for the treatment of this solicited message, and process subelement generates request address information according to solicited message; Such as: request address information is " http://SW.com "; Parameter is spliced to request address information rear portion by process subelement, the request address information after composition integration; Such as: have following parameter to need splicing, obtain content type (getType), start page number at (startIndex), obtain number (rows), splicing after result be " http://SW.com? getType=hot news & startIndex=0 & rows=10 "; This article Meaning of Information is: from the 0th page, obtain 10 articles of hot news to request address.
Above-mentioned information is sent to server by Transmit-Receive Unit, and server is to this information response, if solicited message mistake maybe cannot process, then feedback network error message, such as: error message 200, error message 401 etc., if solicited message is not wrong, then processes and send it back the corresponding information of feedback.Transmit-Receive Unit receives feedback information and transfers to the process of process subelement, and process subelement is resolved feedback information, and returns results, and such as above-mentioned news obtains solicited message, and returning results is exactly 10 hot news.
In addition to the implementation, the present invention can also have other execution modes, and all employings are equal to the technical scheme of replacement or equivalent transformation formation, all drop in protection scope of the present invention.

Claims (4)

1. a HTML (Hypertext Markup Language) treatment system, is characterized in that, comprises common interface unit, common control unit, process subelement and Transmit-Receive Unit;
Described common interface unit, for receiving solicited message, and judges network state;
Described common control unit, processes subelement accordingly for generating according to solicited message and manage at least one;
Described process subelement, for the treatment of solicited message and feedback information;
Described Transmit-Receive Unit, for transmission request information and reception feedback information;
Described common interface unit is connected with common control unit, and described common control unit is connected with process subelement, and described process subelement is connected with Transmit-Receive Unit.
2. a HTML (Hypertext Markup Language) processing method, is characterized in that, described HTML (Hypertext Markup Language) processing method is applied to HTML (Hypertext Markup Language) treatment system as claimed in claim 1, and concrete steps are as follows:
Step S1: common interface unit receives solicited message;
Step S2: common interface unit judges current network state;
If when network is normal, then perform step S3;
If during Network Abnormal, then directly return;
Step S3: solicited message is passed to common control unit by common interface unit;
Step S4: common control unit is set up according to described request information and processed subelement accordingly;
Step S5: process subelement generates request address information by described request information;
Step 6: request address information is carried out parameter integration process by process subelement;
Step S7: the request address information after described integration process is passed to Transmit-Receive Unit by process subelement;
Step S8: the request address information after described integration process is sent to server by Transmit-Receive Unit, and waiting for server feedback information;
Step S9: Transmit-Receive Unit receives described feedback information, and described feedback information is passed to process subelement;
Step S10: described feedback information resolved by process subelement, and returns analysis result, completes request process.
3. HTML (Hypertext Markup Language) processing method as claimed in claim 2, is characterized in that, in described step S1, the method for common interface unit reception solicited message comprises, and common interface unit receives solicited message by the method for barrage reception.
4. as the HTML (Hypertext Markup Language) processing method as described in arbitrary in Claims 2 or 3, it is characterized in that, process subelement in described step S6 the method that request address information carries out parameter integration process is comprised, parameter is spliced to request address information rear portion by process subelement, the request address information after composition integration.
CN201510988983.9A 2015-12-24 2015-12-24 Hyper text protocol processing system and method Active CN105577930B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510988983.9A CN105577930B (en) 2015-12-24 2015-12-24 Hyper text protocol processing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510988983.9A CN105577930B (en) 2015-12-24 2015-12-24 Hyper text protocol processing system and method

Publications (2)

Publication Number Publication Date
CN105577930A true CN105577930A (en) 2016-05-11
CN105577930B CN105577930B (en) 2019-08-06

Family

ID=55887562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510988983.9A Active CN105577930B (en) 2015-12-24 2015-12-24 Hyper text protocol processing system and method

Country Status (1)

Country Link
CN (1) CN105577930B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6006260A (en) * 1997-06-03 1999-12-21 Keynote Systems, Inc. Method and apparatus for evalutating service to a user over the internet
CN101867640A (en) * 2009-04-16 2010-10-20 北京闻言科技有限公司 Method for efficiently displaying multiple pieces of system notification at mobile phone client
CN102724327A (en) * 2012-06-29 2012-10-10 百度在线网络技术(北京)有限公司 System and method for providing real-time web browser service for browser
CN103916442A (en) * 2013-01-07 2014-07-09 阿里巴巴集团控股有限公司 Message pushing achieving method, mobile terminal and message pushing system
CN105069163A (en) * 2015-08-26 2015-11-18 广州神马移动信息科技有限公司 Network request processing method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6006260A (en) * 1997-06-03 1999-12-21 Keynote Systems, Inc. Method and apparatus for evalutating service to a user over the internet
CN101867640A (en) * 2009-04-16 2010-10-20 北京闻言科技有限公司 Method for efficiently displaying multiple pieces of system notification at mobile phone client
CN102724327A (en) * 2012-06-29 2012-10-10 百度在线网络技术(北京)有限公司 System and method for providing real-time web browser service for browser
CN103916442A (en) * 2013-01-07 2014-07-09 阿里巴巴集团控股有限公司 Message pushing achieving method, mobile terminal and message pushing system
CN105069163A (en) * 2015-08-26 2015-11-18 广州神马移动信息科技有限公司 Network request processing method and apparatus

Also Published As

Publication number Publication date
CN105577930B (en) 2019-08-06

Similar Documents

Publication Publication Date Title
CN103516690B (en) A kind of business processing status information query method and device
US10432741B2 (en) Systems and methods for guaranteeing delivery of pushed data to remote clients
CN103312528B (en) A kind of heartbeat message sending method and user terminal
CN102035893A (en) Method and system for pushing data actively by server
CN108737570A (en) A kind of information-pushing method, apparatus and system
CN106814975A (en) A kind of memory management method and its system for polymorphic type storage device
CN103167031A (en) Communication between Web applications
CN113141383A (en) Device information subscription method, client, server, system and storage medium
CN105099763A (en) Method and device for reminding lost connection of equipment
CN102685209B (en) A kind of method of assisting users equipment transmitting/receiving instance message, device and equipment
CN102752230A (en) Method and system for sharing subscriber relationship chain
CN103037000A (en) Publish-subscribe system and notification message processing method thereof
CN105246129B (en) The network-building method and device of a kind of intelligent terminal
CN105245367B (en) A kind of sequence number generation method and electronic equipment
CN104618364A (en) Information processing method, electronic device and server
CN108259605B (en) Data calling system and method based on multiple data centers
CN105681162A (en) Method, device and system for synchronizing information
CN115951923B (en) Subscription event management method, display system, device and storage medium
CN102307201A (en) Method and device of offline registration
CN103501298A (en) Method and device for ensuring continuous flow in a link circuit during no-break service upgrade process
EP3085061B1 (en) Methods, an online object, a web-based message exchange server, a mobile device, a target offline object, a network and a computer program product
CN105577930A (en) Hypertext protocol processing system and method
CN106230877B (en) Remote management method, system and equipment of equipment
CN105978853B (en) Session scheduling method, scheduling server and terminal
CN102291686B (en) Emergency short message group sending method and system, centralized control center and short message group sender

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518000 Guangdong Province, Baoan District Xixiang street Xixiang city Shenzhen Tian Yi Lu Chen Tian Bao Industrial District thirty-seventh building 3 floor

Applicant after: CHINA COMMUNICATION SOFTWARE INFORMATION TECHNOLOGY Co.,Ltd.

Applicant after: CHINA COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 518000 Guangdong Province, Baoan District Xixiang street Xixiang city Shenzhen Tian Yi Lu Chen Tian Bao Industrial District thirty-seventh building 3 floor

Applicant before: CHINA COMMUNICATION SOFTWARE INFORMATION TECHNOLOGY Co.,Ltd.

Applicant before: CHINA COMMUNICATION TECHNOLOGY Co.,Ltd.

COR Change of bibliographic data
C41 Transfer of patent application or patent right or utility model
CB02 Change of applicant information

Address after: 518102 Guangdong Province, Baoan District Xixiang street Xixiang city Shenzhen Tian Yi Lu Chen Tian Bao Industrial District thirty-seventh building 3 floor

Applicant after: HUAXUN ARK INTELLIGENCE INFORMATION TECHNOLOGY (SHENZHEN) CO.,LTD.

Applicant after: CHINA COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 518000 Guangdong Province, Baoan District Xixiang street Xixiang city Shenzhen Tian Yi Lu Chen Tian Bao Industrial District thirty-seventh building 3 floor

Applicant before: CHINA COMMUNICATION SOFTWARE INFORMATION TECHNOLOGY Co.,Ltd.

Applicant before: CHINA COMMUNICATION TECHNOLOGY Co.,Ltd.

COR Change of bibliographic data
TA01 Transfer of patent application right

Effective date of registration: 20170105

Address after: 518102 Guangdong Province, Baoan District Xixiang street Shenzhen City Tian Yi Lu Chen Tian Bao Industrial District thirty-seventh building 3 floor

Applicant after: SHENZHEN CCT SOFTWARE INFORMATION Co.,Ltd.

Applicant after: CHINA COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 518102 Guangdong Province, Baoan District Xixiang street Xixiang city Shenzhen Tian Yi Lu Chen Tian Bao Industrial District thirty-seventh building 3 floor

Applicant before: HUAXUN ARK INTELLIGENCE INFORMATION TECHNOLOGY (SHENZHEN) CO.,LTD.

Applicant before: CHINA COMMUNICATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
PP01 Preservation of patent right

Effective date of registration: 20210630

Granted publication date: 20190806

PP01 Preservation of patent right
PD01 Discharge of preservation of patent

Date of cancellation: 20230421

Granted publication date: 20190806

PD01 Discharge of preservation of patent
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230615

Address after: 518102 room 404, building 37, chentian Industrial Zone, chentian community, Xixiang street, Bao'an District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen Huaxun ark Photoelectric Technology Co.,Ltd.

Address before: 518102 3rd floor, building 37, chentian Industrial Zone, Baotian 1st Road, Xixiang street, Bao'an District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN CCT SOFTWARE INFORMATION Co.,Ltd.

Patentee before: CHINA COMMUNICATION TECHNOLOGY Co.,Ltd.