CN109669679B - Service detection and processing method and device and electronic equipment - Google Patents

Service detection and processing method and device and electronic equipment Download PDF

Info

Publication number
CN109669679B
CN109669679B CN201811626773.5A CN201811626773A CN109669679B CN 109669679 B CN109669679 B CN 109669679B CN 201811626773 A CN201811626773 A CN 201811626773A CN 109669679 B CN109669679 B CN 109669679B
Authority
CN
China
Prior art keywords
service
providing object
protocol
service providing
request
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
CN201811626773.5A
Other languages
Chinese (zh)
Other versions
CN109669679A (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.)
Beijing Microlive Vision Technology Co Ltd
Original Assignee
Beijing Microlive Vision 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 Microlive Vision Technology Co Ltd filed Critical Beijing Microlive Vision Technology Co Ltd
Priority to CN201811626773.5A priority Critical patent/CN109669679B/en
Publication of CN109669679A publication Critical patent/CN109669679A/en
Application granted granted Critical
Publication of CN109669679B publication Critical patent/CN109669679B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application provides a service detection and processing method, a service detection and processing device and electronic equipment. The method comprises the following steps: when the service request is detected, determining a service providing object aimed at by the service request; and acquiring a service protocol of the pre-registered service providing object according to the service providing object, and transferring the service protocol to a predetermined area so that the service request calls the service provided by the service providing object according to the service protocol. The embodiment of the application realizes the purpose of transmitting the corresponding service protocol in real time according to the service request, avoids the situation that the modified service protocol cannot be acquired, and solves the problem of transmission errors caused by the process of depending on manual service protocol transfer in the prior art, thereby improving the efficiency of the service request.

Description

Service detection and processing method and device and electronic equipment
Technical Field
The present application relates to the technical field of service discovery and service registration, and in particular, to a service detection and processing method, an apparatus and an electronic device.
Background
In the existing research and development technologies, the main research and development technology is modularization. The modularization can allow a plurality of people to cooperate, compile, develop and research different functional modules simultaneously, can decouple a complex system, and split a loaded system into a plurality of functional modules, so that each functional module can operate independently after splitting or recombining, and provides services to the outside.
In the existing service calling process between the functional modules, the service protocol of the called functional module has a risk of being easily modified, so that the calling of other subsequent functional modules is influenced, and communication failure is caused.
Disclosure of Invention
The application provides a service detection and processing method, a service detection and processing device and electronic equipment, which can solve the technical problem. The technical scheme is as follows:
in a first aspect, the present application provides a service detection and processing method, including:
when the service request is detected, determining a service providing object aimed at by the service request;
and acquiring a service protocol of the pre-registered service providing object according to the service providing object, and transferring the service protocol to a predetermined area so that the service request calls the service provided by the service providing object according to the service protocol.
In a second aspect, the present application provides a service detection and processing apparatus, including:
the service detection module is used for determining a service providing object aimed at by the service request when the service request is detected;
the service processing module is used for acquiring a service protocol of the pre-registered service providing object according to the service providing object and transferring the service protocol to a predetermined area so that the service request calls the service provided by the service providing object according to the service protocol.
In a third aspect, the present application provides an electronic device comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: the service detection and processing method is executed.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the service detection and processing method described above.
The technical scheme provided by the embodiment of the application has the following beneficial effects: when the service request is detected, the service providing object aimed at by the service request is determined, the service protocol of the pre-registered service providing object is obtained according to the service providing object, and the service protocol is transferred to the preset area, so that the purpose of transferring the corresponding service protocol in real time according to the service request is achieved, the condition that the service protocol is modified is avoided, meanwhile, the problem of transfer errors caused in the process of depending on manual transfer of the service protocol in the prior art is solved, and the efficiency of the service request is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is a schematic flowchart of a service detection and processing method according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart illustrating another service detection and processing method according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a service invocation result of an application scenario of a service detection and processing method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a service detection and processing device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The terms referred to in this application will first be introduced and explained:
control Inversion (IoC) is a design rule in object-oriented programming, and can be used to reduce the coupling between computer codes.
The dependency injection framework Dagger is a completely static framework which performs dependency injection during compiling and is mainly used for Android and Java platforms. Objects that need to be relied upon are instantiated in the container of the Dagger and injected into the appropriate place through the Dagger, thereby achieving decoupling.
In the prior art, service protocols of different functional modules after componentization processing are prone to being modified, so that the modified service protocols are processed in a service calling process, and finally communication between the different functional modules fails.
The application provides a service detection and processing method, a service detection and processing device, an electronic device and a computer-readable storage medium, which aim to solve the above technical problems in the prior art.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
In an embodiment, an embodiment of the present application provides a service detection and processing method, as shown in fig. 1, the method includes: step S101 and step S102.
Step S101, when a service request is detected, determining a service providing object for the service request;
in this embodiment, when the detection device detects a service request, a service providing object to which the service request is directed is determined. Specifically, the detection device may be a client or a server, and in practical application, both the client and the server may be set as electronic devices such as a PC, a notebook, and a server.
In the embodiment of the present application, one service providing object may be one or multiple service providing objects for which one service request is directed. In actual application, the service providing object may be a service device (such as a printer), or may be a component module, or may be a sub-module of the component module.
For example, assume that the component module a includes three sub-modules, respectively, sub-module 1, sub-module 2, and sub-module 3, where sub-module 1 provides service 1, sub-module 2 provides service 2, and sub-module 3 provides service 3. If the service providing object is the submodule 1, the service request needs to call the service provided by the submodule 1, namely the service 1.
Step S102, according to the service providing object, obtaining the service agreement of the pre-registered service providing object, and transferring the service agreement to the predetermined area, so that the service request calls the service provided by the service providing object according to the service agreement
In this embodiment, the service protocol is used to determine the communication mode and the requirement of the service providing object, so as to achieve the purpose of invoking the service provided by the service providing object.
In this embodiment, the predetermined area is a receiving layer of the service agreement, and the receiving layer is a sharing area, and is configured to provide a visual area of the service agreement to an initiating user of the service request, so that the initiating user can perform an editing operation, thereby implementing sharing of the service agreement.
In the embodiment of the application, when the service request is detected, the service providing object aimed at by the service request is determined, the service protocol of the pre-registered service providing object is obtained according to the service providing object, and the service protocol is transferred to the preset area, so that the purpose of transmitting the corresponding service protocol in real time according to the service request is realized, the situation that the modified service protocol cannot be obtained is avoided, meanwhile, the problem of transmission errors caused in the process of depending on manual service protocol transfer in the prior art is solved, and the efficiency of the service request is improved.
In one implementation, the determining the service providing object for which the service request is directed in step S101 includes:
and acquiring service providing identification information corresponding to the service request, and determining a service providing object according to the service providing identification information.
In this embodiment, the service provision identification information is used to uniquely determine the service provision object, and thus, it is prevented that the response efficiency to the service request is affected by an error of the determined service provision object. Specifically, the service provision identification information may be represented by a corresponding tag. In practice, the label may be a numerical label. For example, when the numerical label is 001, the service providing object to be addressed is sub-module 1; when the numerical value label is 002, the service providing object to be addressed is the sub-module 2.
In another implementation, before the service request is detected in step S101, the method further includes: and pushing the service representation identification corresponding to the pre-registered service protocol so that the user selects the service representation identification from the pushed service representation identification, and generating a corresponding service request according to the service representation identification selected by the user.
In this embodiment, the number of the service representation identifiers corresponding to the pushed pre-registered service protocol may be 1, and may also be multiple. Specifically, the pushed pre-registered service agreements can be displayed on the client in a list manner for the user to select.
In this embodiment, the service representation identifier corresponding to the service agreement facilitates rapid determination of the service providing object, shortens the determination time of the service request, and improves the service efficiency. Specifically, the service representation identifier corresponding to the service agreement may be a text label, such as the service representation identifier of the printer is "printer X".
In practical application, the service representation identifier corresponding to the service agreement may be consistent with the service provision identifier information corresponding to the service request, for example, a text tag is used. For example, assuming that the text label is "printer X", when the service request corresponds to "printer X", it may be determined that the service providing object is printer X, and when the service representation corresponding to the pushed service agreement is identified as "printer X", it may be determined that the service providing object is printer X.
In actual application, the service representation identifier corresponding to the service agreement may not be consistent with the service provision identifier information corresponding to the service request. For example, the service providing identification information corresponding to the service request is a digital tag, the service representation identification corresponding to the service protocol is a text tag, and the service representation identification corresponding to the service protocol depends on the parameters of the user, so that the text tag is convenient for the user to quickly and effectively determine a service providing object, the selection time of the user is shortened, and the user interactivity is high; and the service providing object for which the service request is confirmed does not need user parameters, so that the digital label, particularly the binary code which can be identified by a machine, can improve the identification efficiency of the service providing object.
In another implementation manner, the step S101 of obtaining a service agreement of the pre-registered service providing object according to the service providing object includes:
and inquiring a pre-configured service protocol storage area according to the storage address of the service providing object, and acquiring a service protocol corresponding to the service providing object in the service protocol storage area.
In this embodiment, the service agreement storage area may be set up in the detection device, and may also be set up in the cloud server. Different service providing objects are stored in a storage location of the service agreement storage area. For example, the storage address of the service providing object 1 is under the a1 subdirectory under the a folder of the service agreement storage area; the storage address of the service providing object 2 is under the B1 subdirectory under the B folder of the service agreement storage area.
For another example, assuming that the storage address of the service providing object is http://101.102.99.88// user1.db, the downloading can be performed according to the service protocol storage area pointed by the storage address, so as to obtain the service protocol corresponding to the service providing object in the service protocol storage area.
In another implementation, the transferring the service agreement to the predetermined area in step S102 includes: the service agreement is injected into the predetermined area using the dagger.
In practical application, the problems that need to be solved in modularization generally are as follows: how to decouple each functional module (i.e. service providing object), and how to call each other among the functional modules after decoupling. In this embodiment, the decoupling process is implemented by the dagger, and a service protocol of an object that needs to be relied, that is, a service providing object, is instantiated in a container of the dagger and is injected into a predetermined area through the dagger, so that decoupling is implemented.
In another embodiment, as shown in FIG. 2, the method includes: step S201, step S202, and step S203, wherein step S201 and step S202 are the same as or similar to the execution processes of step S101 and step S102 in the foregoing embodiment, respectively, and are not repeated here.
Step S203, obtaining modification information of the service agreement according to the service request for analysis, where the modification information includes a declaration part for the service agreement and a modification part for a code corresponding to the service request.
In this embodiment, the predetermined area is a public area of the storage protocol, and the initiating user of the service request can edit the service protocol of the service providing object in the area, thereby ensuring that the service provided by the service providing object is invoked, and achieving the purpose of communicating with the service request object.
For example, if the component module includes the sub-module 1, the sub-module 2, and the sub-module 3, in the research and development process, it is assumed that the sub-module 1 needs to invoke the service provided by the sub-module 2, and when a service request initiated by the sub-module 1 is detected, a service providing object corresponding to the service request is determined to be the sub-module 2, and according to the sub-module 2, the service protocol of the sub-module 2 is obtained, so as to ensure that the sub-module 1 performs processing according to the communication mode and the requirement of the sub-module 2, thereby achieving the purpose of invoking the service provided by the sub-module 2 by the sub-module 1. In practical application, after the service protocol of the sub-module 2 is transferred to a predetermined area, a user can edit the area, and the editing sub-module 1 calls the code of the service provided by the sub-module 2, that is, the modification information, so that in the subsequent analysis process, the code edited by the user and the original service protocol can be determined according to the modification information.
In order to further explain the service detection and processing method provided by the present application, an application scenario of a commodity detail page of the XX application APP is taken as an example for detailed description.
In this embodiment, the page often needs to display the delivery address of one or several users. Therefore, when the system is applied, the delivery address of one or a plurality of users needs to be acquired, and the maintenance service aiming at the delivery address is provided by the user center module. Then, after determining that the service providing object is the user center module by using the method provided by the present application, a method (i.e. service protocol) for maintaining the delivery address in the user center module is obtained, the method is injected into the module _ base (i.e. predetermined area) by using the dagger, so as to call the method for maintaining the delivery address provided by the user center module from the module _ base, fulfill the aim of service call, play a role of regenerating the corresponding code every time the service is called, because the service protocol is automatically generated in the module _ base when needed, therefore, even if the method exists in the module _ base and is modified, the method in the module _ base can be ensured to be unmodified by transferring again in an overlaying way, therefore, subsequent smooth communication is guaranteed, the purpose of service calling is completed, and the result shown in the figure 3 is obtained on the commodity detail page of the XX application program APP.
In another embodiment, the present application provides a service detection and processing apparatus, as shown in fig. 4, the service detection and processing apparatus 30 may include: a service detection module 301 and a service processing module 302, wherein,
a service detection module 301, configured to determine a service providing object for which a service request is directed when the service request is detected;
the service processing module 302 is configured to obtain a service agreement of a pre-registered service providing object according to the service providing object, and transfer the service agreement to a predetermined area, so that a service request invokes a service provided by the service providing object according to the service agreement.
In the embodiment of the application, when the service request is detected, the service providing object aimed at by the service request is determined, the service protocol of the pre-registered service providing object is obtained according to the service providing object, and the service protocol is transferred to the preset area, so that the purpose of transmitting the corresponding service protocol in real time according to the service request is realized, the situation that the modified service protocol cannot be obtained is avoided, meanwhile, the problem of transmission errors caused in the process of depending on manual service protocol transfer in the prior art is solved, and the efficiency of the service request is improved.
Further, the service detection module 301 is configured to: and acquiring service providing identification information corresponding to the service request, and determining a service providing object according to the service providing identification information.
Further, the service detection module 301 is further configured to: before the service request is detected, pushing a service representation identifier corresponding to the pre-registered service protocol so that the user selects the service representation identifier from the pushed service representation identifier, and generating a corresponding service request according to the service representation identifier selected by the user.
Further, the service detection module 301 is further configured to: and inquiring a pre-configured service protocol storage area according to the storage address of the service providing object, and acquiring a service protocol corresponding to the service providing object in the service protocol storage area.
Further, the service processing module 302 is further configured to: and acquiring modification information of the service agreement according to the service request for analysis, wherein the modification information comprises a statement part aiming at the service agreement and a modification part aiming at a code corresponding to the service request.
Further, the service processing module 302 is configured to: the service agreement is injected into the predetermined area using the dagger.
The service detection and processing device of the present embodiment can execute a service detection and processing method provided in the embodiments of the present application, and the implementation principles thereof are similar, and are not described herein again.
In yet another embodiment, an electronic device is provided in the embodiments of the present application, as shown in fig. 5, which shows a schematic structural diagram of an electronic device 400 suitable for implementing the embodiments of the present application. The terminal device in the embodiments of the present application may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 5, electronic device 400 may include a processing device (e.g., central processing unit, graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage device 408 into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM 402, and the RAM403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate wirelessly or by wire with other devices to exchange data. While fig. 5 illustrates an electronic device 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program, when executed by the processing device 401, performs the above-described functions defined in the methods of the embodiments of the present application.
It should be noted that the computer readable medium mentioned above in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device is enabled to execute the service detection and processing method provided by the embodiment.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present application may be implemented by software or hardware. The name of the module does not in some cases form a limitation of the module itself, for example, the first obtaining module may also be described as a "module for obtaining at least two internet protocol addresses".
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the disclosure. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (10)

1. A service detection and processing method is characterized by comprising the following steps:
when a service request is detected, determining at least one service providing object aimed at by the service request;
and acquiring a service agreement of the pre-registered service providing object according to the at least one service providing object, and transferring the service agreement to a predetermined area so that the service request calls the service provided by the at least one service providing object according to the service agreement, wherein the predetermined area is a shared area or a public area so as to facilitate an initiating user of the service request to edit the service agreement in the predetermined area.
2. The method of claim 1, wherein the determining a service providing object for which the service request is intended comprises:
and acquiring service providing identification information corresponding to the service request, and determining the at least one service providing object according to the service providing identification information.
3. The method of claim 1, wherein prior to the detecting the service request, the method further comprises:
and pushing the service representation identification corresponding to the pre-registered service protocol so that the user selects the service representation identification from the pushed service representation identification, and generating a corresponding service request according to the service representation identification selected by the user.
4. The method according to claim 1, wherein the obtaining a service agreement of the service providing object pre-registered according to the service providing object comprises:
and inquiring a pre-configured service protocol storage area according to the storage address of the at least one service providing object, and acquiring the service protocol corresponding to the at least one service providing object in the service protocol storage area.
5. The method of claim 1, further comprising:
and acquiring modification information of the service agreement according to the service request for analysis, wherein the modification information comprises a statement part aiming at the service agreement and a modification part aiming at a code corresponding to the service request.
6. The method of claim 1, wherein the transferring the service agreement to a predetermined area comprises:
and injecting the service agreement into the predetermined area by using the dagger.
7. A service detection and processing apparatus, comprising:
the service detection module is used for determining at least one service providing object aimed at by the service request when the service request is detected;
and the service processing module is used for acquiring a service protocol of the pre-registered service providing object according to the at least one service providing object, and transferring the service protocol to a predetermined area so that the service request calls the service provided by the at least one service providing object according to the service protocol, wherein the predetermined area is a shared area or a public area so that an initiating user of the service request can edit the service protocol in the predetermined area.
8. The apparatus of claim 7, wherein the service detection module is configured to:
and acquiring service providing identification information corresponding to the service request, and determining the at least one service providing object according to the service providing identification information.
9. An electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: -performing the service detection and handling method according to any of claims 1-6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the service detection and processing method of any one of claims 1 to 6.
CN201811626773.5A 2018-12-28 2018-12-28 Service detection and processing method and device and electronic equipment Active CN109669679B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811626773.5A CN109669679B (en) 2018-12-28 2018-12-28 Service detection and processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811626773.5A CN109669679B (en) 2018-12-28 2018-12-28 Service detection and processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN109669679A CN109669679A (en) 2019-04-23
CN109669679B true CN109669679B (en) 2022-04-29

Family

ID=66147388

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811626773.5A Active CN109669679B (en) 2018-12-28 2018-12-28 Service detection and processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN109669679B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111324336B (en) * 2020-01-20 2023-12-12 北京有竹居网络技术有限公司 Method, device, terminal and storage medium for implementing dependency injection

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622229A (en) * 2012-02-24 2012-08-01 北京星网锐捷网络技术有限公司 Fusion method, fusion system and fusion device of development frameworks of different types
CN103109511A (en) * 2010-04-07 2013-05-15 杰出网络公司 Partial object distribution in content delivery network
CN105516086A (en) * 2015-11-25 2016-04-20 广州华多网络科技有限公司 Service processing method and apparatus
CN105704208A (en) * 2015-12-31 2016-06-22 小米科技有限责任公司 Service starting method and device
CN109002362A (en) * 2017-06-06 2018-12-14 阿里巴巴集团控股有限公司 A kind of method of servicing, device, system and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9876762B2 (en) * 2012-12-31 2018-01-23 Elwha Llc Cost-effective mobile connectivity protocols

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103109511A (en) * 2010-04-07 2013-05-15 杰出网络公司 Partial object distribution in content delivery network
CN102622229A (en) * 2012-02-24 2012-08-01 北京星网锐捷网络技术有限公司 Fusion method, fusion system and fusion device of development frameworks of different types
CN105516086A (en) * 2015-11-25 2016-04-20 广州华多网络科技有限公司 Service processing method and apparatus
CN105704208A (en) * 2015-12-31 2016-06-22 小米科技有限责任公司 Service starting method and device
CN109002362A (en) * 2017-06-06 2018-12-14 阿里巴巴集团控股有限公司 A kind of method of servicing, device, system and electronic equipment

Also Published As

Publication number Publication date
CN109669679A (en) 2019-04-23

Similar Documents

Publication Publication Date Title
US11711441B2 (en) Method and apparatus for publishing video synchronously, electronic device, and readable storage medium
CN110300165B (en) Method, device and equipment for calling functional program and storage medium
CN110007936B (en) Data processing method and device
CN110704833A (en) Data permission configuration method, device, electronic device and storage medium
CN110908921A (en) Game problem positioning method and device, electronic equipment and storage medium
CN109669679B (en) Service detection and processing method and device and electronic equipment
CN111475230B (en) Application function configuration method and device and electronic equipment
CN111414154A (en) Method and device for front-end development, electronic equipment and storage medium
CN110619101A (en) Method and apparatus for processing information
CN113835790B (en) Paging page display method and device based on Android
CN111797160B (en) Method, system and electronic device for sharing intelligent contract
CN111460020B (en) Method, device, electronic equipment and medium for resolving message
CN113778566A (en) Native application calling method and device, electronic equipment and computer readable medium
CN109933556B (en) Method and apparatus for processing information
CN113518183A (en) Camera calling method and device and electronic equipment
CN113032046A (en) Method, device and equipment for repairing so file and storage medium
CN111831566A (en) Test method, test device, electronic equipment and computer readable storage medium
CN113391860A (en) Service request processing method and device, electronic equipment and computer storage medium
CN112688863B (en) Gateway data processing method and device and electronic equipment
CN111125676B (en) Joint authorization method and device
CN111314457B (en) Method and device for setting virtual private cloud
CN116382804A (en) Application running method, device, medium and equipment
CN116737254A (en) Class loading method, device, equipment and medium
CN114398098A (en) Application script execution method and device, electronic equipment and computer readable medium
CN116346924A (en) Network request processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant