CN112579933B - Information processing method and device - Google Patents

Information processing method and device Download PDF

Info

Publication number
CN112579933B
CN112579933B CN202011552707.5A CN202011552707A CN112579933B CN 112579933 B CN112579933 B CN 112579933B CN 202011552707 A CN202011552707 A CN 202011552707A CN 112579933 B CN112579933 B CN 112579933B
Authority
CN
China
Prior art keywords
request
information
characteristic value
functional module
module
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
CN202011552707.5A
Other languages
Chinese (zh)
Other versions
CN112579933A (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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202011552707.5A priority Critical patent/CN112579933B/en
Publication of CN112579933A publication Critical patent/CN112579933A/en
Application granted granted Critical
Publication of CN112579933B publication Critical patent/CN112579933B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses an information processing method which is executed by terminal equipment, wherein a first application program is operated on the terminal equipment, and the first application program comprises a first functional module. In response to a user-triggered operation for requesting access to the first functional module, the terminal device generates a first request, where the first request includes a first request feature value, and the first request feature value is used to determine first information required for implementing access to the first functional module, where the first information includes: and determining the first information according to the first request characteristic value, further obtaining a second request according to the first request and the first information, wherein the second request comprises the first information and does not comprise the first request characteristic value, and finally, sending the second request.

Description

Information processing method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to an information processing method and apparatus.
Background
When a user retrieves a resource published on the Web on a browser, it is often necessary to specify a uniform resource locator (Uniform Resource Locator, URL) for the resource, each URL pointing to a unique resource, which may be an HTML page, or a CSS document, or an image, etc. A URL is typically made up of parts of a protocol, domain name or internet protocol address (Internet Protocol Address, IP address), port, path and additional parameters. Taking the URL of http:// www.example.com:80/path/to/myfile.htmlkey 1=value 1& key 2=value 2 as an example, where "and http" is a protocol, "www.example.com" is a domain name, ":80 "is a port,"/path/to/myfile.html "is a path for a resource on a web server,"? kend1=value1 & kend2=value2″ is an additional parameter provided to the web server. The protocol, domain name or IP address, and path are the essential parameters that make up a URL.
The URL of a resource is not constant, for example, a mobile application software product generally goes through a development environment, a test environment, a quasi-production environment and a production environment in sequence from development to user use, and domain name information changes when the URL is migrated from the quasi-production environment to the production environment; as another example, as mobile terminal devices are more and more, the problem of shortage of IPv4 addresses is more and more remarkable, and in consideration of the advantages of more IPv6 addresses, smaller routing table, better security and the like, the IPv4 addresses will be gradually replaced by the IPv6 addresses. In the period of transition from an IPv4 address to an IPv6 address, mobile application needs to support switching of the IPv4 address and the IPv6 address; for another example, when communication is performed between the mobile terminal device and the server, for contents with high security level requirements, HTTPS protocol is generally used to replace HTTP protocol, and data is encrypted and then transmitted. In other words, the domain name or IP address in the URL of a resource, and/or the protocol information in the URL, may change.
Currently, when a domain name or an IP address in a URL of a resource and/or a protocol in the URL changes, a server program is usually required to be redeployed, relevant information is modified in a code, and a URL for transmitting a connection request in a code of a mobile terminal device is modified. Since the code program of the mobile terminal is changed to inevitably face the problem of reissue, when the related program is reissued, a series of processes such as development, test, construction, release and the like are required, the process is complicated, the time consumption is long, and the user experience is poor.
Therefore, a solution is urgently needed to solve the above-mentioned problems.
Disclosure of Invention
The technical problem to be solved by the application is to provide an information processing method to solve the problem that when the domain name or the IP address in the URL of a certain resource and/or the protocol of the URL changes, a server program is usually required to be redeployed, related information is modified in codes, and the URL for sending a connection request in the codes of mobile terminal equipment is modified at the same time. Since the code program of the mobile terminal is changed to inevitably face the problem of reissue, when the related program is reissued, a series of processes such as development, test, construction and release are needed, and the problems of complicated processes, long time consumption and poor user experience are solved.
In a first aspect, an embodiment of the present application provides an information processing method, which is executed by a terminal device, where a first application program runs on the terminal device, where the first application program includes a first functional module, and the method includes:
generating a first request in response to a user-triggered operation for requesting access to the first functional module, the first request including a first request feature value for determining first information required to enable access to the first functional module, the first information including: a first address of a server corresponding to the first application program at present and/or a first protocol used for interaction between the server and the terminal equipment at present;
determining the first information according to the first request characteristic value;
obtaining a second request according to the first request and the first information, wherein the second request comprises the first information and does not comprise the first request characteristic value;
and sending the second request.
Optionally, determining the first information according to the first request feature value includes:
and determining the first information according to the first request characteristic value and the corresponding relation between the first request characteristic value and the first information, which are stored in advance.
Optionally, the method further comprises:
and receiving and storing the corresponding relation between the first request characteristic value and the first information.
Optionally, after sending the second request, the method further includes:
receiving a corresponding relation between the first request characteristic value and second information, wherein the second information is different from the first information, and the second information is information needed by accessing the first functional module currently;
and storing the corresponding relation between the first request characteristic value and the second information, and deleting the corresponding relation between the first request characteristic value and the first information.
Optionally, the first application program includes a second functional module, and the method further includes:
generating a third request in response to a user-triggered operation for requesting access to the second functional module, the third request including a second request feature value, the second request feature value being used to determine third information required to enable access to the second functional module, the third information including: a second address of a server corresponding to the first application program at present and/or a second protocol used for interaction between the server and the terminal equipment at present;
determining the third information according to the second request characteristic value;
obtaining a fourth request according to the third request and the third information, wherein the fourth request comprises the third information and does not comprise the second request characteristic value;
and sending the fourth request.
In a second aspect, an embodiment of the present application provides an information processing apparatus, which is applied to a terminal device, where a first application program runs on the terminal device, where the first application program includes a first functional module, and the apparatus includes:
a first generation module for: generating a first request in response to a user-triggered operation for requesting access to the first functional module, the first request including a first request feature value for determining first information required to enable access to the first functional module, the first information including: a first address of a server corresponding to the first application program at present and/or a first protocol used for interaction between the server and the terminal equipment at present;
a first determining module, configured to: determining the first information according to the first request characteristic value;
a first replacement module for: obtaining a second request according to the first request and the first information, wherein the second request comprises the first information and does not comprise the first request characteristic value;
the first sending module is used for: and sending the second request.
Optionally, the first determining module is configured to:
and determining the first information according to the first request characteristic value and the corresponding relation between the first request characteristic value and the first information, which are stored in advance.
Optionally, the apparatus further includes a first storage module configured to:
and receiving and storing the corresponding relation between the first request characteristic value and the first information.
Optionally, the apparatus further includes:
a receiving module for: receiving a corresponding relation between the first request characteristic value and second information, wherein the second information is different from the first information, and the second information is information needed by accessing the first functional module currently;
a second storage module, configured to: and storing the corresponding relation between the first request characteristic value and the second information, and deleting the corresponding relation between the first request characteristic value and the first information.
Optionally, the first application program includes a second functional module, and the apparatus further includes:
a second generation module, configured to: generating a third request in response to a user-triggered operation for requesting access to the second functional module, the third request including a second request feature value, the second request feature value being used to determine third information required to enable access to the second functional module, the third information including: a second address of a server corresponding to the first application program at present and/or a second protocol used for interaction between the server and the terminal equipment at present;
a second determining module, configured to: determining the third information according to the second request characteristic value;
a second replacement module for: obtaining a fourth request according to the third request and the third information, wherein the fourth request comprises the third information and does not comprise the second request characteristic value;
a second sending module, configured to: and sending the fourth request.
Compared with the prior art, the embodiment of the application has the following advantages:
the embodiment of the application provides an information processing method which is executed by terminal equipment, wherein a first application program is operated on the terminal equipment, and the first application program comprises a first functional module. When a user wants to access the first functional module, firstly triggering an operation for requesting the first functional module, and when receiving the operation, the terminal equipment responds to the operation for requesting to access the first functional module, which is triggered by the user, and generates a first request. The first request includes a first request feature value, where the first request feature value is used to determine first information required for implementing access to the first functional module, the first information is information included in a URL of a target server corresponding to the first application program, and the first information includes: and the first address of the server corresponding to the first application program at present and/or the first protocol used for interaction between the server and the terminal equipment at present. And after the terminal equipment generates the first request, determining the first information according to the first request characteristic value in the first request. And after the first information is determined, obtaining a second request according to the first request and the first information, wherein the second request comprises the first information and does not comprise the first request characteristic value. Specifically, after the first information is determined, replacing a first request feature value in the first request with the first address and/or the first protocol included in the first information, so as to obtain the second request. The second request is a URL of a target server corresponding to the first application program. Finally, the terminal device sends the second request to the target server. It can be seen that the first request is generated in response to the user's operation, and therefore, the first request is recorded in the terminal device program, the first request characteristic value does not change when the URL of the target server changes, the first information is changed, the second request is generated according to the first information and the first request, and the second request is transmitted to the target server. Since the first request feature value is not changed, the first request is not changed, and the information recorded in the terminal device program is not changed. By adopting the method, the accurate URL can be sent to the target server when the domain name or the IP address in the URL and/or the protocol of the URL changes without changing the source code of the URL of the target server recorded in the terminal equipment. According to the scheme, the code of the mobile terminal does not need to be changed, so that a series of processes such as development, testing, construction, release and the like are avoided when the code is updated, time consumption is reduced, and user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings may be obtained according to the drawings without inventive effort to those skilled in the art.
FIG. 1 is a flow chart of an information processing method according to an embodiment of the application;
fig. 2 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present application.
Detailed Description
In order to make the present application better understood by those skilled in the art, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The inventor of the present application has found through research that, currently, when a domain name or an IP address in a URL of a resource and/or a protocol of the URL changes, it is generally necessary to redeploy a program of a server, modify related information in a code, and simultaneously modify a URL in a code of a mobile terminal device, which transmits a connection request. Since the code program of the mobile terminal is changed to inevitably face the problem of reissue, when the related program is reissued, a series of processes such as development, test, construction, release and the like are required, the process is complicated, the time consumption is long, and the user experience is poor.
In order to solve the above problems, an embodiment of the present application provides an information processing method, which is executed by a terminal device, on which a first application program is running, the first application program including a first functional module. When a user wants to access the first functional module, firstly triggering an operation for requesting the first functional module, and when receiving the operation, the terminal equipment responds to the operation for requesting to access the first functional module, which is triggered by the user, and generates a first request. The first request includes a first request feature value, where the first request feature value is used to determine first information required for implementing access to the first functional module, the first information is information included in a URL of a target server corresponding to the first application program, and the first information includes: and the first address of the server corresponding to the first application program at present and/or the first protocol used for interaction between the server and the terminal equipment at present. And after the terminal equipment generates the first request, determining the first information according to the first request characteristic value in the first request. And after the first information is determined, obtaining a second request according to the first request and the first information, wherein the second request comprises the first information and does not comprise the first request characteristic value. Specifically, after the first information is determined, replacing a first request feature value in the first request with the first address and/or the first protocol included in the first information, so as to obtain the second request. The second request is a URL of a target server corresponding to the first application program. Finally, the terminal device sends the second request to the target server. It can be seen that the first request is generated in response to the user's operation, and therefore, the first request is recorded in the terminal device program, the first request characteristic value does not change when the URL of the target server changes, the first information is changed, the second request is generated according to the first information and the first request, and the second request is transmitted to the target server. Since the first request feature value is not changed, the first request is not changed, and the information recorded in the terminal device program is not changed. By adopting the method, the accurate URL can be sent to the target server when the domain name or the IP address in the URL and/or the protocol of the URL changes without changing the source code of the URL of the target server recorded in the terminal equipment. According to the scheme, the code of the mobile terminal does not need to be changed, so that a series of processes such as development, testing, construction, release and the like are avoided when the code is updated, time consumption is reduced, and user experience is improved.
Various non-limiting embodiments of the present application are described in detail below with reference to the attached drawing figures.
Exemplary method
Referring to fig. 1, a flow chart of an information processing method in an embodiment of the application is shown. The method shown in fig. 1 may be performed in one implementation by a terminal device having a first application running thereon, the first application including a first functional module.
In the present embodiment, the method shown in fig. 1 can be implemented by, for example, the following steps S101 to S104.
S101: generating a first request in response to a user-triggered operation for requesting access to the first functional module, the first request including a first request feature value for determining first information required to enable access to the first functional module, the first information including: and the first address of the server corresponding to the first application program at present and/or the first protocol used for interaction between the server and the terminal equipment at present.
In this embodiment, when the user wants to access the first functional module, an operation for requesting the first functional module is first triggered, and when the terminal device receives the operation, the first request is generated in response to the operation for requesting to access the first functional module, which is triggered by the user. The first request includes a first request feature value, where the first request feature value is used to determine first information required for implementing access to the first functional module, the first information is information included in a URL of a target server corresponding to the first application program, and the first information includes: and the first address of the server corresponding to the first application program at present and/or the first protocol used for interaction between the server and the terminal equipment at present. Assuming that the URL of the target server is HTTP:// www.example.com:80/path/to/myfile.html, the address in the URL is "www.example.com", and the protocol is "HTTP", in this embodiment, the first information includes "www.example.com" and "HTTP", where the first address is "www.example.com", the first protocol is "HTTP", and the first request feature value is pre-written in the source code of the terminal device, which may be 0001, for example. When the URL of the target server corresponding to the first application program and the user wants to access the first function module is the URL, the terminal device responds to the operation of the user to generate the first request, and when the first request feature value included in the first request is 0001, the first request may be "0001:80/path/to/myfile.html".
S102: and determining the first information according to the first request characteristic value.
In the present embodiment, the first request feature value is used to determine first information required to realize access to the first functional module, for example, in the above example, the first request feature value is 0001 used to determine the first information including "www.example.com" and "HTTP". After the terminal device generates the first request, for example, "0001:80/path/to/myfile.html", the terminal device determines, according to the first request feature value 0001 in the first request, the first address "www.example.com" and the first protocol "HTTP" in the first information. In one example, in order to determine the first information, a correspondence between the first request feature value and the first information may be stored in advance, and the first information may be determined according to the first request feature value and the correspondence between the first request feature value and the first information. In one example, the correspondence between the first request feature value and the first information may be, for example, information received and stored by the terminal device and sent by a server corresponding to the first application program.
S103: and obtaining a second request according to the first request and the first information, wherein the second request comprises the first information and does not comprise the first request characteristic value.
S104: and sending the second request.
It may be understood that the generated first request does not include the URL of the target server corresponding to the first application program, and includes the first request feature value, the port, the path, the additional parameter, and other information. In order to determine the URL of the target server corresponding to the first application program and further access the target server, the first request feature value in the first request may be replaced with the first information, specifically, the first request feature value in the first request is replaced with the first address in the first information, and/or the first protocol obtains a second request, where the second request includes the first information and does not include the first request feature value. For example, when the first request is "0001:80/path/to/myfile.html", after determining the first address "www.example.com" and the first protocol "HTTP" in the first information according to the first request feature value 0001, the first request feature value 0001 in the first request is replaced by the first address and the first protocol in the first information, so as to obtain "http:// www.example.com:80/path/to/myfile.html" as the second request. The terminal device sends the second request.
It can be seen that, since the first request is generated in response to the user's operation, the first request is recorded in the terminal device program, the first request feature value does not change when the URL of the target server changes, the first information is changed, and the terminal device generates the second request according to the first information and the first request and transmits the second request to the target server. Since the first request feature value is not changed, the first request is not changed, and the information recorded in the terminal device program is not changed. By adopting the method, the accurate URL can be sent to the target server when the domain name or the IP address in the URL and/or the protocol of the URL changes without changing the source code of the URL of the target server recorded in the terminal equipment. According to the scheme, the code of the mobile terminal does not need to be changed, so that a series of processes such as development, testing, construction, release and the like are avoided when the code is updated, time consumption is reduced, and user experience is improved.
Considering that the first address of the server corresponding to the first application program and/or the first protocol used for interaction between the server and the terminal device may be changed, in one example, it is assumed that second information is information required for accessing the first functional module currently, where the second information includes the address of the server currently, and/or the protocol used for interaction between the server and the terminal device currently, the server may send the correspondence between the second information and the first request feature value to the terminal device, and after receiving the correspondence between the second information and the first request feature value, the terminal device determines whether the correspondence between the second information and the first request feature value is the same as the correspondence between the first information and the first request feature value. If the first request feature value is the same, deleting the corresponding relation between the second information and the first request feature value; if the first request feature value is different from the second request feature value, storing the corresponding relation between the second information and the first request feature value, and deleting the corresponding relation between the first information and the first request feature value.
For example, the first information includes an address "www.example1.com", the second information includes an address "www.example2.com", and the corresponding relationship between the address "www.example2.com" and the first request feature value, for example 0001, is saved, and the corresponding relationship between the address "www.example1.com" and the first request feature value 0001 is deleted; for another example, the first information includes a protocol "HTTP", the second information includes a protocol "HTTPs", and then a correspondence between the protocol "HTTP" and the first request feature value 0001 is saved, and a correspondence between the protocol "HTTPs" and the first request feature value 0001 is deleted; for another example, the first information includes an address "www.example1.com" and a protocol "HTTP", and the second information includes an address "www.example2.com" and a protocol "HTTPs", and then the corresponding relationship between the address "www.example2.com" and the protocol "HTTPs" and the first request feature value 0001 is saved, and the corresponding relationship between the address "www.example1.com" and the protocol "HTTP" and the first request feature value 0001 is deleted. Therefore, when the domain name or the IP address in the URL and/or the protocol of the URL changes, the first request written in the code of the mobile terminal equipment is not required to be modified, and only the corresponding relation between the characteristic value of the first request and the current address and/or the protocol is required to be updated. The problem that a code program of the mobile terminal is necessarily subjected to reissue, and a series of processes such as development, testing, construction, release and the like are required during reissue is avoided, time consumption is reduced, and user experience is improved.
It can be understood that after updating the correspondence between the first request feature value and the current address and/or protocol, that is, updating the correspondence between the first request feature value and the second information, the terminal device may determine the second information according to the first request feature value and the correspondence between the first request feature value and the second information. When a user triggers an operation for requesting access to the first functional module, the terminal device responds to the operation to generate a request comprising the first request characteristic value. And then, the terminal equipment determines the second information according to the first request characteristic value and the corresponding relation between the first request characteristic value and the second information, and replaces the first request characteristic value in the request comprising the first request characteristic value with the current address and/or the current protocol included in the second information after determining the second information to obtain the request comprising the current address and/or the current protocol. The included request of the current address and/or the current protocol is a URL of a target server corresponding to the first application program, and the included request of the current address and/or the current protocol includes the second information and does not include the first request characteristic value. And finally, the terminal equipment sends the included current address and/or the current protocol request, namely the URL of the target server corresponding to the first application program.
Considering that when different functional modules of the first application program are accessed, addresses and/or protocols of servers corresponding to the different modules may be different, for example, functional modules with different requirements on data security may use an "HTTP" protocol, functional modules with lower security may use an "HTTPs" protocol, and functional modules with higher security may use an "HTTPs" protocol. Therefore, in order to achieve access to different functional modules of the first application program, if the first application program further includes a second functional module, the terminal device may generate a third request in response to a user-triggered operation for requesting access to the second functional module. The third request includes a second request feature value, the second request feature value being used to determine third information required to implement accessing the second functional module, the third information including: and the second address of the server corresponding to the first application program at present and/or the second protocol used for interaction between the server and the terminal equipment at present. In other words, when the user triggers an operation for requesting access to a certain functional module in the first application program, the terminal device may generate, in response to the operation, a request including the functional feature value corresponding to the functional module, corresponding to the different functional module of the first application program. In the above example, if the request feature value corresponding to the second functional module is the second request feature value, the generated third request includes the second request feature value. And then, the terminal equipment determines the third information according to the second request characteristic value, further obtains a fourth request according to the third request and the third information, wherein the fourth request comprises the third information and does not comprise the second request characteristic value, and finally, the terminal equipment sends the fourth request. The process of obtaining the fourth request by the terminal device according to the third request and the third information is the same as the process of obtaining the second request according to the first request and the first information, and is not described herein again. It is understood that when different functional modules of the first application program are accessed, addresses and/or protocols of servers corresponding to the different modules may be the same.
Exemplary apparatus
Based on the method provided by the embodiment, the embodiment of the application also provides a device, and the device is described below with reference to the accompanying drawings.
Referring to fig. 2, a schematic diagram of an information processing apparatus in an embodiment of the present application is shown. The device is applied to terminal equipment, a first application program is operated on the terminal equipment, the first application program comprises a first functional module, and the device can specifically comprise:
the first generation module 201: generating, in response to a user-triggered operation for requesting access to the first functional module, a first request including a first request feature value for determining first information required to enable access to the first functional module, the first information including: a first address of a server corresponding to the first application program at present and/or a first protocol used for interaction between the server and the terminal equipment at present;
the first determination module 202: the first information is determined according to the first request characteristic value;
the first replacement module 203: the second request is obtained according to the first request and the first information, and the second request comprises the first information and does not comprise the first request characteristic value;
first transmitting module 204: for sending the second request.
By means of the device, the accurate URL can be sent to the target server when the domain name or the IP address in the URL and/or the protocol of the URL changes without changing the source code of the URL of the target server recorded in the terminal equipment. According to the scheme, the code of the mobile terminal does not need to be changed, so that a series of processes such as development, testing, construction, release and the like are avoided when the code is updated, time consumption is reduced, and user experience is improved.
In one implementation, the first determining module is configured to:
and determining the first information according to the first request characteristic value and the corresponding relation between the first request characteristic value and the first information, which are stored in advance.
In one implementation, the apparatus further includes a first storage module configured to:
and receiving and storing the corresponding relation between the first request characteristic value and the first information.
In one implementation, the apparatus further comprises:
a receiving module for: receiving a corresponding relation between the first request characteristic value and second information, wherein the second information is different from the first information, and the second information is information needed by accessing the first functional module currently;
a second storage module, configured to: and storing the corresponding relation between the first request characteristic value and the second information, and deleting the corresponding relation between the first request characteristic value and the first information.
In one implementation, the first application includes a second functional module, the apparatus further comprising:
a second generation module, configured to: generating a third request in response to a user-triggered operation for requesting access to the second functional module, the third request including a second request feature value, the second request feature value being used to determine third information required to enable access to the second functional module, the third information including: a second address of a server corresponding to the first application program at present and/or a second protocol used for interaction between the server and the terminal equipment at present;
a second determining module, configured to: determining the third information according to the second request characteristic value;
a second replacement module for: obtaining a fourth request according to the third request and the third information, wherein the fourth request comprises the third information and does not comprise the second request characteristic value;
a second sending module, configured to: and sending the fourth request.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims
The foregoing description of the preferred embodiments of the application is not intended to limit the application to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the application are intended to be included within the scope of the application.

Claims (4)

1. An information processing method, characterized in that the method is executed by a terminal device, on which a first application program is executed, the first application program including a first functional module, the method comprising:
generating a first request in response to a user-triggered operation for requesting access to the first functional module, the first request including a first request feature value for determining first information required to enable access to the first functional module, the first information including: a first address of a server corresponding to the first application program at present and/or a first protocol used for interaction between the server and the terminal equipment at present;
determining the first information according to the first request characteristic value;
obtaining a second request according to the first request and the first information, wherein the second request comprises the first information and does not comprise the first request characteristic value;
sending the second request;
wherein determining the first information according to the first request feature value includes:
determining the first information according to the first request characteristic value and a pre-stored corresponding relation between the first request characteristic value and the first information;
wherein the method further comprises:
receiving and storing the corresponding relation between the first request characteristic value and the first information;
wherein after sending the second request, the method further comprises:
receiving a corresponding relation between the first request characteristic value and second information, wherein the second information is different from the first information, and the second information is information needed by accessing the first functional module currently;
judging whether the corresponding relation between the second information and the first request characteristic value is the same as the corresponding relation between the first information and the first request characteristic value;
if the second information is the same as the first request feature value, deleting the corresponding relation between the second information and the first request feature value;
if the first request characteristic value and the second information are different, storing the corresponding relation between the first request characteristic value and the second information, and deleting the corresponding relation between the first request characteristic value and the first information.
2. The method of claim 1, wherein the first application includes a second functional module, the method further comprising:
generating a third request in response to a user-triggered operation for requesting access to the second functional module, the third request including a second request feature value, the second request feature value being used to determine third information required to enable access to the second functional module, the third information including: a second address of a server corresponding to the first application program at present and/or a second protocol used for interaction between the server and the terminal equipment at present;
determining the third information according to the second request characteristic value;
obtaining a fourth request according to the third request and the third information, wherein the fourth request comprises the third information and does not comprise the second request characteristic value;
and sending the fourth request.
3. An information processing apparatus, applied to a terminal device, on which a first application program is running, the first application program including a first functional module, the apparatus comprising:
a first generation module for: generating a first request in response to a user-triggered operation for requesting access to the first functional module, the first request including a first request feature value for determining first information required to enable access to the first functional module, the first information including: a first address of a server corresponding to the first application program at present and/or a first protocol used for interaction between the server and the terminal equipment at present;
a first determining module, configured to: determining the first information according to the first request characteristic value;
a first replacement module for: obtaining a second request according to the first request and the first information, wherein the second request comprises the first information and does not comprise the first request characteristic value;
the first sending module is used for: sending the second request;
wherein, the first determining module is used for:
determining the first information according to the first request characteristic value and a pre-stored corresponding relation between the first request characteristic value and the first information;
the apparatus further comprises a first storage module for:
receiving and storing the corresponding relation between the first request characteristic value and the first information;
a receiving module for: receiving a corresponding relation between the first request characteristic value and second information, wherein the second information is different from the first information, and the second information is information needed by accessing the first functional module currently;
a second storage module, configured to: judging whether the corresponding relation between the second information and the first request characteristic value is the same as the corresponding relation between the first information and the first request characteristic value; if the second information is the same as the first request feature value, deleting the corresponding relation between the second information and the first request feature value; if the first request characteristic value and the second information are different, storing the corresponding relation between the first request characteristic value and the second information, and deleting the corresponding relation between the first request characteristic value and the first information.
4. The apparatus of claim 3, wherein the first application includes a second functional module, the apparatus further comprising:
a second generation module, configured to: generating a third request in response to a user-triggered operation for requesting access to the second functional module, the third request including a second request feature value, the second request feature value being used to determine third information required to enable access to the second functional module, the third information including: a second address of a server corresponding to the first application program at present and/or a second protocol used for interaction between the server and the terminal equipment at present;
a second determining module, configured to: determining the third information according to the second request characteristic value;
a second replacement module for: obtaining a fourth request according to the third request and the third information, wherein the fourth request comprises the third information and does not comprise the second request characteristic value;
a second sending module, configured to: and sending the fourth request.
CN202011552707.5A 2020-12-24 2020-12-24 Information processing method and device Active CN112579933B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011552707.5A CN112579933B (en) 2020-12-24 2020-12-24 Information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011552707.5A CN112579933B (en) 2020-12-24 2020-12-24 Information processing method and device

Publications (2)

Publication Number Publication Date
CN112579933A CN112579933A (en) 2021-03-30
CN112579933B true CN112579933B (en) 2023-12-08

Family

ID=75139615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011552707.5A Active CN112579933B (en) 2020-12-24 2020-12-24 Information processing method and device

Country Status (1)

Country Link
CN (1) CN112579933B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002037788A2 (en) * 2000-11-02 2002-05-10 Telefonaktiebolaget L M Ericsson (Publ) Domain name portability
US7082476B1 (en) * 2000-05-24 2006-07-25 Cisco Technology, Inc. System and method of optimizing retrieval of network resources by identifying and substituting embedded symbolic host name references with network addresses in accordance with substitution policies
KR20090054147A (en) * 2007-11-26 2009-05-29 주식회사 케이티 System, apparatus and method for performing mobile ipv6 handover based on domain name system
CN103856408A (en) * 2014-02-17 2014-06-11 中国科学院计算机网络信息中心 IPv6 and IPv4 intercommunication method based on DNS
WO2014176895A1 (en) * 2013-04-28 2014-11-06 Tencent Technology (Shenzhen) Company Limited Method, terminal, server and system for page jump
KR101534819B1 (en) * 2014-05-09 2015-07-27 주식회사에어플러그 Method for providing different address information selectively on request from a mobile terminal and an apparatus for said method
WO2016101591A1 (en) * 2014-12-22 2016-06-30 华为技术有限公司 Packet response method and apparatus
CN106790503A (en) * 2016-12-16 2017-05-31 广东睿哲科技股份有限公司 It is a kind of to realize the IPv4 websites without skylight using the device upgraded to IPv6 based on HTTP reverse proxys
WO2017124933A1 (en) * 2016-01-18 2017-07-27 阿里巴巴集团控股有限公司 Information processing method, device and system
JP2017188045A (en) * 2016-04-08 2017-10-12 キヤノン株式会社 Information processing device and control method, system and program thereof
US10230687B1 (en) * 2011-11-16 2019-03-12 Google Llc Apparatus and method for correlating addresses of different Internet protocol versions
WO2020035046A1 (en) * 2018-08-16 2020-02-20 新华三技术有限公司 Access authentication method and device, and authentication apparatus
WO2020177511A1 (en) * 2019-03-05 2020-09-10 网宿科技股份有限公司 Resource acquisition method, resource return method, server and storage medium
CN111723313A (en) * 2020-06-23 2020-09-29 中国平安财产保险股份有限公司 Page jump processing method, device, equipment and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8676989B2 (en) * 2009-04-23 2014-03-18 Opendns, Inc. Robust domain name resolution
US20130067115A1 (en) * 2011-09-12 2013-03-14 Isaac Omar Lapanc Method And System For Mapping Domain Prefixes To Qualified URLs
US9843554B2 (en) * 2012-02-15 2017-12-12 F5 Networks, Inc. Methods for dynamic DNS implementation and systems thereof
US8966122B2 (en) * 2012-04-16 2015-02-24 Opendns, Inc. Cross-protocol communication in domain name systems
EP2816827B1 (en) * 2013-04-25 2018-11-28 Huawei Technologies Co., Ltd. Method and apparatus for distributing information, and network system
CN104468363B (en) * 2013-09-18 2018-12-07 华为终端有限公司 Page reorientation method, routing device, terminal device and system
CN106330988B (en) * 2015-06-16 2020-01-03 阿里巴巴集团控股有限公司 Method and device for reissuing hypertext transfer request and client
CN106856434B (en) * 2015-12-08 2020-06-30 阿里巴巴集团控股有限公司 Method and device for converting access request
US10498694B2 (en) * 2017-06-30 2019-12-03 Microsoft Technology Licensing, Llc Mapping IPv4 knowledge to IPv6
US20200287865A1 (en) * 2019-03-05 2020-09-10 Wangsu Science & Technology Co., Ltd. Method for acquiring resource, method for returning resource, server, and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7082476B1 (en) * 2000-05-24 2006-07-25 Cisco Technology, Inc. System and method of optimizing retrieval of network resources by identifying and substituting embedded symbolic host name references with network addresses in accordance with substitution policies
WO2002037788A2 (en) * 2000-11-02 2002-05-10 Telefonaktiebolaget L M Ericsson (Publ) Domain name portability
KR20090054147A (en) * 2007-11-26 2009-05-29 주식회사 케이티 System, apparatus and method for performing mobile ipv6 handover based on domain name system
US10230687B1 (en) * 2011-11-16 2019-03-12 Google Llc Apparatus and method for correlating addresses of different Internet protocol versions
WO2014176895A1 (en) * 2013-04-28 2014-11-06 Tencent Technology (Shenzhen) Company Limited Method, terminal, server and system for page jump
CN103856408A (en) * 2014-02-17 2014-06-11 中国科学院计算机网络信息中心 IPv6 and IPv4 intercommunication method based on DNS
KR101534819B1 (en) * 2014-05-09 2015-07-27 주식회사에어플러그 Method for providing different address information selectively on request from a mobile terminal and an apparatus for said method
WO2016101591A1 (en) * 2014-12-22 2016-06-30 华为技术有限公司 Packet response method and apparatus
WO2017124933A1 (en) * 2016-01-18 2017-07-27 阿里巴巴集团控股有限公司 Information processing method, device and system
JP2017188045A (en) * 2016-04-08 2017-10-12 キヤノン株式会社 Information processing device and control method, system and program thereof
CN106790503A (en) * 2016-12-16 2017-05-31 广东睿哲科技股份有限公司 It is a kind of to realize the IPv4 websites without skylight using the device upgraded to IPv6 based on HTTP reverse proxys
WO2020035046A1 (en) * 2018-08-16 2020-02-20 新华三技术有限公司 Access authentication method and device, and authentication apparatus
WO2020177511A1 (en) * 2019-03-05 2020-09-10 网宿科技股份有限公司 Resource acquisition method, resource return method, server and storage medium
CN111723313A (en) * 2020-06-23 2020-09-29 中国平安财产保险股份有限公司 Page jump processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN112579933A (en) 2021-03-30

Similar Documents

Publication Publication Date Title
CN110351283B (en) Data transmission method, device, equipment and storage medium
CN106534243B (en) Caching, requesting and responding method based on HTTP protocol and corresponding device
CN112887444A (en) VPN (virtual private network) request processing method, client device and system
US9386105B2 (en) Techniques for dynamic domain-based isolation
CN105743945B (en) Document down loading method and system based on switching loading source
KR100739715B1 (en) Method and apparatus for performing an agreement of web services policy
CN112073405A (en) Webpage data loading method and device, computer equipment and storage medium
US10498694B2 (en) Mapping IPv4 knowledge to IPv6
US8989182B2 (en) Providing a virtual domain name system (DNS) in a local area network (LAN)
CN106331149A (en) Webpage code adapting method applicable to client environment
CN103942225A (en) Method and system for invoking resources of Hybrid App client and client
JP6766393B2 (en) Communication controllers, methods and programs for DHCP
CN109787952A (en) A kind of network data access method, device and electronic equipment
CN109067936A (en) A kind of method and device of domain name mapping
CN112565406B (en) Gray release method, gray release system and electronic equipment
JP2009259124A (en) System and method for providing application update information
CN110716734A (en) Software upgrading method and device, electronic equipment and medium
US11297131B2 (en) Method and apparatus for multi-vendor GTM fabric
CN112579933B (en) Information processing method and device
JP2010113380A (en) Test base apparatus, test base program, test base method
CN112115103B (en) File address display method and device, electronic equipment and readable storage medium
CN107094134A (en) A kind of method and client of access website
CN110704777A (en) Method and system for implementing gray scale publishing
CN114788393B (en) Inter-device communication method, device and storage medium
CN102761625A (en) Method and system for registering domain name for video monitoring terminal

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