CN104408199A - Web text transmitting method and device - Google Patents

Web text transmitting method and device Download PDF

Info

Publication number
CN104408199A
CN104408199A CN201410779617.8A CN201410779617A CN104408199A CN 104408199 A CN104408199 A CN 104408199A CN 201410779617 A CN201410779617 A CN 201410779617A CN 104408199 A CN104408199 A CN 104408199A
Authority
CN
China
Prior art keywords
client
service end
language
target
request message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410779617.8A
Other languages
Chinese (zh)
Inventor
马燕龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201410779617.8A priority Critical patent/CN104408199A/en
Publication of CN104408199A publication Critical patent/CN104408199A/en
Pending legal-status Critical Current

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/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a web text transmitting method and a web text transmitting device. The web text transmitting method comprises the steps as follows: target request messages transmitted by a client are received by a server; the server detects whether target head documents are included in said target request messages, wherein the target head documents contain target language type information, and the target language type is used by the client; if the target head documents are included in the target request messages, the language type transmitted from the server to the client belongs to the web text of the target language type. The method and the device can solve the problem that the web text transmitted from the server to the client is easy to make an error because the language is set as transmission parameters when the client invokes the text from the client, and then the language type transmitted from the server to the client belongs to the web text of the target language type when the detected target request messages include the target head documents, so that the accuracy of transmitting the web text from the server to the client is improved.

Description

Network text sending method and device
Technical field
The present invention relates to internet arena, in particular to a kind of network text sending method and device.
Background technology
In the system that face is served mutually, when client calls method of servicing to service end, often wish the difference that service end is arranged according to client language to return the text of different language.Such as, if it is en-US that the language of client is arranged, then wish that service end returns English text; If it is zh-CN that client language is arranged, then wish that service end returns Chinese text.
Existing method is the parameter language of client being provided as method of servicing, such as, if the language parameter of client transmission is en-US, then returns English text, if the language parameter of client transmission is zh-CN, then returns Chinese text.Because language parameter and service logic have nothing to do, therefore in service interface, with the addition of language parameter, then client needs to transmit useless parameter, and what this added client to a certain extent calls difficulty and learning cost, the probability also increasing maintenance cost in the future and make mistakes.
For in correlation technique because language is provided as Transfer Parameters by client when service end calls text, cause service end easily to occur the problem of mistake to the network text that client sends, not yet propose effective solution at present.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of network text sending method and device, to solve because language is provided as Transfer Parameters by client when service end calls text, cause service end when client sends network text, easily occur the problem of mistake.
To achieve these goals, according to an aspect of the present invention, a kind of network text sending method is provided.
Network text sending method according to the present invention comprises: service end receives the destination request message that client sends, and wherein, destination request message is used for request service end and sends network text to client; Service end detects in destination request message whether comprise target header file, wherein, comprises the information of target language type in target header file, and target language type is the language form that client uses; If detect in destination request message and comprise target header file, then service end sends language form to client is the network text of target language type.
Further, service end comprises to the network text that client transmission language form is target language type: service end reads the information of the target language type comprised in target header file; It is the network text of target language type that service end sends language form to client.
Further, receive the destination request message of client transmission in service end before, the method also comprises: client determination target language type; Client creates target header file according to target language type; Target header file adds in destination request message by client; Destination request message is sent to service end by client.
Further, do not comprise target header file if detected in destination request message, the method also comprises: service end determination default language type; Service end sends to client the network text that language form is default language type.
Further, whether comprise target header file in service end detection destination request message before, the method also comprises: thread language form preset in service end record, wherein, preset the type that thread language form is the thread language of the execution service that server is preset, to send after language form is the network text of target language type to client in service end, the method also comprises: judge that whether target language type is identical with default thread language form; If target language type is different with default thread language form, then service end is performed the type recovery of the thread language of service for presetting thread language form.
To achieve these goals, according to a further aspect in the invention, a kind of network text dispensing device is provided.
Network text dispensing device according to the present invention comprises: receiving element, receives the destination request message of client transmission for service end, and wherein, destination request message is used for request service end and sends network text to client; Detecting unit, detects in destination request message whether comprise target header file for service end, wherein, comprises the information of target language type in target header file, and target language type is the language form that client uses; First transmitting element, for detect in destination request message comprise target header file time, service end to client send language form be the network text of target language type.
Further, the first transmitting element comprises: read module, reads the information of the target language type comprised in target header file for service end; Sending module, sending language form for service end to client is the network text of target language type.
Further, this device also comprises: the first determining unit, for client determination target language type; Creating unit, creates target header file for client according to target language type; Adding device, adds in destination request message for client by target header file; Second transmitting element, sends to service end for client by destination request message.
Further, do not comprise target header file if detected in destination request message, this device also comprises: the second determining unit, for service end determination default language type; 3rd transmitting element, sends to client the network text that language form is default language type for service end.
Further, this device also comprises: record cell, presets thread language form for service end record, wherein, presets the type that thread language form is the thread language of the execution service that server is preset; Judging unit, for judging that whether target language type is identical with default thread language form; Recovery unit, for when target language type is different with default thread language form, performs the type recovery of the thread language of service for presetting thread language form by service end.
By the present invention, adopt the method comprised the following steps: service end receives the destination request message that client sends, wherein, destination request message is used for request service end and sends network text to client, service end detects in destination request message whether comprise target header file, wherein, comprises the information of target language type in target header file, and target language type is the language form that client uses, if detect in destination request message and comprise target header file, then service end sends language form to client is the network text of target language type, solve because language is provided as Transfer Parameters by client when service end calls text, cause service end when client sends network text, easily occur the problem of mistake, and then by under detecting in destination request message and comprising target header file situation, it is the network text of target language type that service end sends language form to client, reach and improve service end sends effect from the accuracy of network text to client.
Accompanying drawing explanation
The accompanying drawing forming a application's part is used to provide a further understanding of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the process flow diagram of the first embodiment according to network text sending method of the present invention;
Fig. 2 is the process flow diagram of the second embodiment according to network text sending method of the present invention; And
Fig. 3 is the schematic diagram of the embodiment according to network text dispensing device of the present invention.
Embodiment
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the present invention in detail in conjunction with the embodiments.
The application's scheme is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present application, technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only the embodiment of the application's part, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all should belong to the scope of the application's protection.
It should be noted that, term " first ", " second " etc. in the instructions of the application and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged, in the appropriate case so that the embodiment of the application described herein.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
According to embodiments of the invention, provide a kind of network text sending method.
Fig. 1 is the process flow diagram of the first embodiment according to network text sending method of the present invention.As shown in Figure 1, the method comprising the steps of S102 is to step S106:
Step S102, service end receives the destination request message that client sends, and wherein, destination request message is used for request service end and sends network text to client.
Destination request message is used for request service end and sends network text to client, such as client needs the method for servicing calling service end, then by sending the destination request message calling method of servicing to service end, the network text of the corresponding with service method that service end sends can be obtained.It should be noted that, network text has different language form, such as Chinese, English etc.
Step S104, service end detects in destination request message whether comprise target header file, wherein, comprises the information of target language type in target header file, and target language type is the language form that client uses.
Receive the destination request message of client transmission in service end before, first client can determine target language type, i.e. the type of the language of the current use of client.Client creates target header file according to target language type.Target header file is run after fame and is called the header of culture, and its value is the type of the language of the current use of client.And then name is called that the header of culture adds in destination request message by client.Destination request message is sent to service end by client, thus obtains the network text needed from service end.In this step, service end detects in destination request message the header whether comprising name and be called culture, therefrom to obtain the type of the language used when client sends request.
Step S106, comprises target header file if detected in destination request message, then service end sends language form to client is the network text of target language type.
If service end detects in destination request message the header comprising name and be called culture, the type of the language used when then service end can determine that client sends request, the language form of follow-up the network text that client need be needed is set to the demand that the type can meet client.
The network text that service end is target language type to client transmission language form realizes by following steps: service end reads the information of the target language type comprised in target header file; It is the network text of target language type that service end sends language form to client.By reading the information of target language type from target header file, the language form of the text that client needs can be obtained exactly.
This embodiment is owing to have employed following steps: service end receives the destination request message that client sends, and wherein, destination request message is used for request service end and sends network text to client, service end detects in destination request message whether comprise target header file, wherein, comprises the information of target language type in target header file, and target language type is the language form that client uses, if detect in destination request message and comprise target header file, then service end sends language form to client is the network text of target language type, solve because language is provided as Transfer Parameters by client when service end calls text, cause service end when client sends network text, easily occur the problem of mistake, and then by under detecting in destination request message and comprising target header file situation, it is the network text of target language type that service end sends language form to client, reach and improve service end sends effect from the accuracy of network text to client.
Fig. 2 is the process flow diagram of the second embodiment according to network text sending method of the present invention.Fig. 2 can as a kind of preferred implementation embodiment illustrated in fig. 1.As shown in Figure 2, the method comprising the steps of S201 is to step S208:
Step S201, service end receives the destination request message that client sends, and wherein, destination request message is used for request service end and sends network text to client.
This step, with step S102, repeats no more here.
Step S202, thread language form preset in service end record, wherein, presets the type that thread language form is the thread language of the execution service that server is preset.
For a station server, its thread language performing service is normally fixed, and is such as English.Receive the request message of client transmission at server after, according to the information of the target language type comprised in request message, the language form of the service of execution may be changed.Such as, the type that server performs the thread language of service is English, and target language type is Chinese, then, when service end sends network text to client, language can be substituted by English is Chinese.
Step S203, service end detects in destination request message whether comprise target header file, wherein, comprises the information of target language type in target header file, and target language type is the language form that client uses.
This step, with step S104, repeats no more here.
Step S204, comprises target header file if detected in destination request message, then service end sends language form to client is the network text of target language type.
This step, with step S106, repeats no more here.
Step S205, does not comprise target header file if detected in destination request message, then service end determination default language type.
Step S206, service end sends to client the network text that language form is default language type.
If service end detects in destination request message do not comprise target header file, then service end will send network text with default language type format to client.
Step S207, judges that whether target language type is identical with default thread language form.
Step S208, if target language type is different with default thread language form, then performs the type recovery of the thread language of service for presetting thread language form by service end.
When service end to send after network text terminates to client, service end can judge that whether target language type is identical with default thread language form.In order to the normal execution of the follow-up regular service of Deterministic service end, when judging that target language type is not identical with default thread language form, need type recovery service end being performed the thread language of service for presetting thread language form.Such as, the default thread language form that service end performs service is English, and change in order to Chinese, then, after transmission network text completes, needs type service end being performed the thread language of service again to revert to English when sending network text to client.
In above-mentioned steps, service end reads Header information, extract the language (culture) that client is transmitted, and the language using client to transmit method of servicing the term of execution, original language is reverted to after method of servicing is complete, make the method for servicing of client call service end become simple, decrease the probability calling and make mistakes.
This embodiment is owing to have employed following steps: service end receives the destination request message that client sends, and wherein, destination request message is used for request service end and sends network text to client; Thread language form preset in service end record, wherein, presets the type that thread language form is the thread language of the execution service that server is preset; Service end detects in destination request message whether comprise target header file, wherein, comprises the information of target language type in target header file, and target language type is the language form that client uses; If detect in destination request message and comprise target header file, then service end sends language form to client is the network text of target language type; If detect in destination request message and do not comprise target header file, then service end determination default language type; Service end sends to client the network text that language form is default language type; Judge that whether target language type is identical with default thread language form; If target language type is different with default thread language form, then service end is performed the type recovery of the thread language of service for presetting thread language form, solve because language is provided as Transfer Parameters by client when service end calls text, cause service end when client sends network text, easily occur the problem of mistake.Meanwhile, server just carries out the change of language form temporarily when performing service, after execution service terminates, revert to original thread language form, both met the requirement of client, can not cause other influences again to the execution of server follow-up service.
Here is the 3rd embodiment according to network text sending method of the present invention.This embodiment is specifically described the present invention for WCF in .NET.
First some concepts related in this embodiment are simply introduced:
1, WCF: support that the ore deposit of some communication protocols is built is a whole set of framework of face phase service construction.
2, WCF communication process comprises:
(1) create ServiceHost, and open ServiceHost.
ServiceHost is the host of Service, and Service can not isolated operation, but lives with in ServiceHost.
(2) create ChannelListener, be responsible for interception request, after listening to request, by Requests routing to the EndPoint mated.
(3) Endpoint uses EndpointDispatcher that solicited message is distributed to given server.
(4) obtain or create Service Instance.
(5) by the CallContextInitializers set in DispatchOperation, the context of initialization current thread, mainly calls the BeforeInvoke method in CallContextInitializer.
DispatchOperation is responsible for Requests routing to operate to specified services, its CallContextInitializers set comprises multiple CallContextInitializer, it define two operations, namely BeforeInvoke is (called before performing method of servicing, for performing the initialization before method of servicing) and AfterInvoke (called after performing method of servicing, for performing the cleaning of the resource after method of servicing).
(6) by DispatchOperation, request message is deserialized as method parameter, performs method of servicing, and serializing rreturn value.
(7) by the CallContextInitializers set cleaning thread context in DispatchOperation, the AfterInvoke method in CallContextInitializer is mainly called.
(8) release of resource and cleaning.
3, which operation is contract: comprise contract of service, data contract etc., refer in particular to contract of service, be equivalent to interface in the present embodiment, contain for definition.
4, serve: the communication technology standard used in a kind of distributed system, does not rely on concrete programming language and system, namely can put into practice across language border, cross-system, can be undertaken alternately between different language and different system by service.
5, destination node (EndPoint): communication for service has been come by destination node, and destination node comprises three parts:
(1) contract;
(2) address: the address of quoting service;
(3) bind: which kind of host-host protocol service employs, and how to transmit data.
Specific description is done to the specific implementation step of the present embodiment below.
1, create CallContextInitializer, add CallContextInitializer interface, need to realize following two aspects:
(1) BeforeInvoke, first the language that method of servicing current thread uses is preserved, read the Culture header comprised in client-requested, extract the language message that it comprises, the language of the thread of method of servicing is revised as the language that client passes over, the language (source language namely before amendment) of the method for servicing place thread of record before returning, the parameter of this rreturn value and AfterInvoke.
(2) AfterInvoke, the parameter of the method is the rreturn value of BeforeInvoke, i.e. the source language of method of servicing place thread.The method is called after execution method of servicing, for the language of Resume service method place thread.
2, CallContextInitializer is added in the WCF process framework of service end, comprises the following two kinds implementation:
(1) add in the WCF process framework of service end by OperationBehavior by CallContextInitializer, OperationBehavior is for defining the behavior of single operation.
Definition realizes the Attribute of IOperationBehavior interface, the ApplyDispatchBehavior method of OperationBehavior can access DispatchOperation, therefore in the method, newly-built CallContextInitializer is added in the CallContextInitializers set of DispatchOperation, then Attribute is applied in contract.The method can use the processing logic of CallContextInitializer before and after performing.
(2) add in the WCF process framework of service end by EndPointBehavior by CallContextInitializer, EndPointBehavior is used for defining EndPoint behavior.The method is specially:
1. definition realizes the Behavior of IEndpointBehavior interface, the ApplyDispatchBehavior method of application EndpointBehavior, DispatcherOperation set can be accessed, therefore can in the method newly-built CallContextInitializer be added in the CallContextInitializers set of all DispatchOperation.
2. define new BehaviorExtensionElement, such in configuration file be EndPoint add EndPointBehavior.
3. revising service end configuration file, is the BehaviorExtensionElement configuration of the new definition of EndPoint application.
Through above-mentioned steps, all operations being distributed to EndPoint all can use the EndpointBehavior processing logic of definition, namely performs the logic of CallContextInitializer definition.
The present embodiment, by resolving the mode of Header, reaches the effect automatically transmitting client language, service end automatic acquisition client language.By the method, client, when calling method of servicing, only needs to be concerned about the parameter relevant with service logic, makes the solicit operation of client more be easy to perform; Meanwhile, for client, system becomes more stable, and the later maintenance of system also becomes more simple, reduces the probability of makeing mistakes.
It should be noted that, can perform in the computer system of such as one group of computer executable instructions in the step shown in the process flow diagram of accompanying drawing, and, although show logical order in flow charts, but in some cases, can be different from the step shown or described by order execution herein.
According to embodiments of the invention, provide a kind of network text dispensing device.It should be noted that, the network text dispensing device of the embodiment of the present invention may be used for performing the network text sending method that the embodiment of the present invention provides, and the network text dispensing device that the network text sending method of the embodiment of the present invention also can be provided by the embodiment of the present invention performs.
Fig. 3 is the schematic diagram of the embodiment according to network text dispensing device of the present invention.As shown in Figure 3, this device comprises: receiving element 10, detecting unit 20 and the first transmitting element 30.
Receiving element 10, receives the destination request message of client transmission for service end, wherein, destination request message is used for request service end and sends network text to client.
Alternatively, this device also comprises: the first determining unit, for client determination target language type; Creating unit, creates target header file for client according to target language type; Adding device, adds in destination request message for client by target header file; Second transmitting element, sends to service end for client by destination request message.
Detecting unit 20, detects in destination request message whether comprise target header file for service end, wherein, comprises the information of target language type in target header file, and target language type is the language form that client uses.
First transmitting element 30, for detect in destination request message comprise target header file time, service end to client send language form be the network text of target language type.
First transmitting element 30 comprises: read module, reads the information of the target language type comprised in target header file for service end; Sending module, sending language form for service end to client is the network text of target language type.
If detect in destination request message and do not comprise target header file, this device can also comprise: the second determining unit, for service end determination default language type; 3rd transmitting element, sends to client the network text that language form is default language type for service end.
This device can also comprise: record cell, presets thread language form for service end record, wherein, presets the type that thread language form is the thread language of the execution service that server is preset; Judging unit, for judging that whether target language type is identical with default thread language form; Recovery unit, for when target language type is different with default thread language form, performs the type recovery of the thread language of service for presetting thread language form by service end.
The network text dispensing device that the present embodiment provides comprises: receiving element 10, detecting unit 20 and the first transmitting element 30.By this device, solve because language is provided as Transfer Parameters by client when service end calls text, cause service end when client sends network text, easily occur the problem of mistake, and then by under detecting in destination request message and comprising target header file situation, utilize the first transmitting element 30 to realize service end and send to client the network text that language form is target language type, reach and improve service end sends effect from the accuracy of network text to client.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a network text sending method, is characterized in that, comprising:
Service end receives the destination request message that client sends, and wherein, described destination request message sends network text for asking described service end to described client;
Described service end detects in described destination request message whether comprise target header file, wherein, comprises the information of target language type in described target header file, and described target language type is the language form that described client uses; And
If detect in described destination request message and comprise described target header file, then described service end sends to described client the network text that language form is described target language type.
2. method according to claim 1, is characterized in that, the network text that described service end is described target language type to described client transmission language form comprises:
Described service end reads the information of the target language type comprised in described target header file; And
Described service end sends to described client the network text that language form is described target language type.
3. method according to claim 1, is characterized in that, receive the destination request message of client transmission in service end before, described method also comprises:
Described client determines described target language type;
Described client creates described target header file according to described target language type;
Described target header file adds in described destination request message by described client; And
Described destination request message is sent to described service end by described client.
4. method according to claim 1, is characterized in that, do not comprise described target header file if detected in described destination request message, described method also comprises:
Described service end determination default language type; And
Described service end sends to described client the network text that language form is described default language type.
5. method according to claim 1, is characterized in that,
Before described service end detects in described destination request message and whether comprises target header file, described method also comprises: thread language form preset in described service end record, wherein, described default thread language form is the type of the thread language of the execution service that described server is preset
To send after language form is the network text of described target language type to described client in described service end, described method also comprises:
Judge that whether described target language type is identical with described default thread language form; And
If described target language type is different with described default thread language form, then the type recovery described service end being performed the thread language of service is described default thread language form.
6. a network text dispensing device, is characterized in that, comprising:
Receiving element, receives the destination request message of client transmission for service end, wherein, described destination request message sends network text for asking described service end to described client;
Detecting unit, detects in described destination request message whether comprise target header file for described service end, wherein, comprises the information of target language type in described target header file, and described target language type is the language form that described client uses; And
First transmitting element, for detect comprise described target header file in described destination request message time, described service end sends to described client the network text that language form is described target language type.
7. device according to claim 6, is characterized in that, described first transmitting element comprises:
Read module, reads the information of the target language type comprised in described target header file for described service end; And
Sending module, sends to described client the network text that language form is described target language type for described service end.
8. device according to claim 6, is characterized in that, described device also comprises:
First determining unit, determines described target language type for described client;
Creating unit, creates described target header file for described client according to described target language type;
Adding device, adds in described destination request message for described client by described target header file; And
Second transmitting element, sends to described service end for described client by described destination request message.
9. device according to claim 6, is characterized in that, do not comprise described target header file if detected in described destination request message, described device also comprises:
Second determining unit, for described service end determination default language type; And
3rd transmitting element, sends to described client the network text that language form is described default language type for described service end.
10. device according to claim 6, is characterized in that, described device also comprises:
Record cell, presets thread language form for described service end record, and wherein, described default thread language form is the type of the thread language of the execution service that described server is preset;
Judging unit, for judging that whether described target language type is identical with described default thread language form; And
Recovery unit, for when described target language type is different with described default thread language form, the type recovery described service end being performed the thread language of service is described default thread language form.
CN201410779617.8A 2014-12-15 2014-12-15 Web text transmitting method and device Pending CN104408199A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410779617.8A CN104408199A (en) 2014-12-15 2014-12-15 Web text transmitting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410779617.8A CN104408199A (en) 2014-12-15 2014-12-15 Web text transmitting method and device

Publications (1)

Publication Number Publication Date
CN104408199A true CN104408199A (en) 2015-03-11

Family

ID=52645830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410779617.8A Pending CN104408199A (en) 2014-12-15 2014-12-15 Web text transmitting method and device

Country Status (1)

Country Link
CN (1) CN104408199A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108494606A (en) * 2018-04-19 2018-09-04 四川师范大学 A kind of data service frame building method based on WCF technology

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2371896A (en) * 2000-09-26 2002-08-07 Volantis Systems Ltd Web Server
CN101567906A (en) * 2009-05-25 2009-10-28 阿里巴巴集团控股有限公司 Method and server for confirming the webpage content language
CN102346765A (en) * 2011-09-16 2012-02-08 大唐移动通信设备有限公司 Method and device for querying memory data
CN102811140A (en) * 2011-05-31 2012-12-05 国际商业机器公司 Method and system for testing browser based application

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2371896A (en) * 2000-09-26 2002-08-07 Volantis Systems Ltd Web Server
CN101567906A (en) * 2009-05-25 2009-10-28 阿里巴巴集团控股有限公司 Method and server for confirming the webpage content language
CN102811140A (en) * 2011-05-31 2012-12-05 国际商业机器公司 Method and system for testing browser based application
CN102346765A (en) * 2011-09-16 2012-02-08 大唐移动通信设备有限公司 Method and device for querying memory data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘冰 等,: "《Linux C程序基础与实例讲解》", 28 October 2009, 清华大学出版社 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108494606A (en) * 2018-04-19 2018-09-04 四川师范大学 A kind of data service frame building method based on WCF technology
CN108494606B (en) * 2018-04-19 2020-12-15 四川师范大学 WCF technology-based data service framework building method

Similar Documents

Publication Publication Date Title
CN108449418B (en) Hybrid cloud platform management system and method
EP3605323B1 (en) Method for generating network slice template and for applying network slice template, and apparatus
EP3664372B1 (en) Network management method and related device
CN102316043B (en) Port virtualization method, switch and communication system
CN103973461A (en) Notification message pushing method and message server
EP3101965A1 (en) Method and apparatus for adjacent node registration, and method and system for crossing node registration
CN103647820A (en) Arbitration method and arbitration apparatus for distributed cluster systems
CN104793982A (en) Method and device for establishing virtual machine
US20170085673A1 (en) Attribute Operating Method and Apparatus
CN101262479B (en) A network file share method, server and network file share system
RU2665240C2 (en) Method and device for page insertion
EP3096492B1 (en) Page push method and system
CN104426816A (en) Virtual machine communication method and device
CN101707622A (en) Method for realizing remote data monitoring
CN109479214B (en) Load balancing method and related device
CN103888435A (en) Service admission control method, device and system
CN110830527A (en) Method and device for data communication between networks and data communication system
CN105050028A (en) Method and device for controlling household appliances
CN105099802A (en) Traffic identification method, terminal, and network element equipment
CN106961529B (en) Work order processing method and communication service equipment
CN101309154B (en) Datagram sending method, sending apparatus and transmission system
CN104408199A (en) Web text transmitting method and device
CN103024545A (en) Starting method of operating system of set-top box, set-top box and server
CN104144076A (en) Method, device and system for flow error control
CN107766232B (en) Plug-in management method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150311

RJ01 Rejection of invention patent application after publication