CN112445576A - Equipment calling method for shielding service difference and related equipment - Google Patents
Equipment calling method for shielding service difference and related equipment Download PDFInfo
- Publication number
- CN112445576A CN112445576A CN202011379654.1A CN202011379654A CN112445576A CN 112445576 A CN112445576 A CN 112445576A CN 202011379654 A CN202011379654 A CN 202011379654A CN 112445576 A CN112445576 A CN 112445576A
- Authority
- CN
- China
- Prior art keywords
- file
- functional component
- user equipment
- equipment
- calling
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000012545 processing Methods 0.000 claims abstract description 25
- 230000000873 masking effect Effects 0.000 claims description 8
- 238000004806 packaging method and process Methods 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 15
- 238000004891 communication Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 6
- 238000011161 development Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000008676 import Effects 0.000 description 2
- 238000003032 molecular docking Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45504—Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
- G06F9/45508—Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation
- G06F9/45512—Command shells
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
One or more embodiments of the present specification provide a device call method for shielding service differences and a related device. The method comprises the following steps: receiving a device access request sent by user equipment; acquiring a device access script file according to the device access request; initializing a preset functional component according to the equipment access script file; a data processing interface of a plurality of user equipment is packaged in the functional component; and calling the user equipment based on the initialized functional component so as to collect or retrieve the file uploaded by the user. The method and the related equipment in the embodiment of the specification can shield business differences, solve the problems that different business data acquisition and retrieval components are diversified and are not easy to use, unify the style and the function of the components, simplify the acquisition and retrieval processes, and standardize the style of the acquisition and retrieval components.
Description
Technical Field
One or more embodiments of the present disclosure relate to the field of data processing technologies, and in particular, to a device calling method for shielding service differences and a related device.
Background
With the continuous development of information network technology and business requirements, a plurality of applications of different business scenes often exist in a company, so that the collection and retrieval work of file types such as pictures, PDFs, videos and the like of the plurality of business scenes can be involved.
In the prior art, each application system needs to independently develop a set of acquisition and retrieval tools for respective application scenes to support acquisition and retrieval of file types such as pictures, PDF, videos and the like of the system. The mode causes the acquisition and retrieval components of each file type to need customized development, and the development workload is large.
Disclosure of Invention
In view of this, one or more embodiments of the present disclosure provide a device calling method for shielding business differences and a related device, so as to solve the problem of a large workload caused by the requirement of customized development components for acquisition and retrieval of different types of files.
In view of the foregoing, one or more embodiments of the present specification provide a device calling method for shielding service differences, including:
receiving a device access request sent by user equipment;
acquiring a device access script file according to the device access request;
initializing a preset functional component according to the equipment access script file; a data processing interface of a plurality of user equipment is packaged in the functional component;
and calling the user equipment based on the initialized functional component so as to collect or retrieve the file uploaded by the user.
Optionally, the functional component includes a file collection component;
initializing a preset functional component according to the device access script file, including:
and acquiring a first service address, a first token and a first to-be-used logical bucket name according to the equipment access script file, and initializing the functional component based on the first service address, the first token and the first to-be-used logical bucket name.
Optionally, the invoking the user equipment based on the initialized functional component includes:
and calling the first user equipment according to the initialized functional component to acquire the file uploaded by the first user equipment.
Optionally, the functional component comprises a file retrieval component;
initializing a preset functional component according to the device access script file, including:
and acquiring a second service address, a second token, a second standby logical bucket name and a business condition according to the equipment access script file, and initializing the functional component based on the second service address, the second token, the second standby logical bucket name and the business condition.
Optionally, the invoking the device based on the initialized functional component is implemented by:
and calling the second user equipment to display the file according to a preset rule and the initialized functional component.
Optionally, the method further includes:
grouping the files based on file types;
and calling the data processing interface to store the file and generating index information of the file.
Optionally, the file includes a portable document format file, a picture format file, and a video format file.
One or more embodiments of the present specification provide an apparatus for masking a service difference, including:
the receiving module is used for receiving a device access request sent by user equipment;
the acquisition module is used for acquiring the equipment access script file according to the equipment access request;
the initialization module is used for initializing the preset functional components according to the equipment access script file; the functional component is used for packaging data processing configuration files of a plurality of user equipment;
and the calling module is used for calling the user equipment based on the initialized functional component so as to acquire or retrieve the file uploaded by the user.
One or more embodiments of the present specification provide an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the device call method for masking service differences as described in any one of the above.
One or more embodiments of the present specification provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform any one of the above-described device call methods of masking business differences.
As can be seen from the foregoing, in the device calling method for shielding service differences and the related device provided in one or more embodiments of the present specification, data processing configuration files of a plurality of different user devices are encapsulated in one functional component, so that when each user device requests access, it is not necessary to install a data processing component separately, and only the functional component, in which the plurality of data processing configuration files are encapsulated, installed in the system is called to achieve collection and retrieval of files by the user device, thereby simplifying a docking process between systems, and supporting applications in different service scenarios to use a unified component to complete different service behaviors.
Drawings
In order to more clearly illustrate one or more embodiments or prior art solutions of the present specification, the drawings that are needed in the description of the embodiments or prior art will be briefly described below, and it is obvious that the drawings in the following description are only one or more embodiments of the present specification, and that other drawings may be obtained by those skilled in the art without inventive effort from these drawings.
FIG. 1 is a flow diagram of a device invocation method to mask business differences in accordance with one or more embodiments of the present disclosure;
FIG. 2 is a block diagram of a device invocation mechanism masking service differences in accordance with one or more embodiments of the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device for implementing a device call method for masking a service difference according to one or more embodiments of the present disclosure.
Detailed Description
For the purpose of promoting a better understanding of the objects, aspects and advantages of the present disclosure, reference is made to the following detailed description taken in conjunction with the accompanying drawings.
It is to be noted that unless otherwise defined, technical or scientific terms used in one or more embodiments of the present specification should have the ordinary meaning as understood by those of ordinary skill in the art to which this disclosure belongs. The use of "first," "second," and similar terms in one or more embodiments of the specification is not intended to indicate any order, quantity, or importance, but rather is used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
For different business scenes, files needing to be collected and read are different, so that a collection component and a reading component which need to be used are different. The adaptive components need to be customized and developed respectively for the acquisition and retrieval of each file type, which makes the development workload large.
To solve the foregoing technical problem, one or more embodiments of the present specification provide a device call method for shielding service differences. As shown in fig. 1, the method includes:
step S101, receiving a device access request sent by user equipment.
In this embodiment, when the user equipment requests access, an equipment access request is first generated and sent.
And step S103, acquiring a device access script file according to the device access request.
In this embodiment, the system analyzes the device access request, thereby obtaining the device access script file.
Step S105, initializing a preset functional component according to the equipment access script file; and the functional component is used for packaging data processing configuration files of a plurality of user equipment.
The data processing configuration file may be information such as a driver file of the user equipment. When the user equipment accesses the system, the system can call the user equipment to process data only when the drive file corresponding to the user equipment needs to be installed.
And S107, calling the user equipment based on the initialized functional component to collect or call files uploaded by the user.
In the embodiment of the present specification, data processing configuration files of a plurality of different user equipments are encapsulated into one functional component, so that when each user equipment requests access, the user equipment does not need to install the data processing component separately, and only needs to call the functional component, which is installed in the system and encapsulated with the plurality of data processing configuration files, to acquire and retrieve the files, thereby simplifying the docking process between the systems, and supporting applications of different service scenarios to use a unified component to complete different service behaviors.
Optionally, the file includes a file with a file format such as a portable document format file, a picture format file, and a video format file.
In one or more embodiments of the present description, the user equipment comprises a first user equipment; the functional component comprises a data acquisition component. In step S105, initializing a preset functional component according to the device access script file includes: and acquiring a first service address, a first token and a first to-be-used logical bucket name according to the equipment access script file, and initializing the functional component based on the first service address, the first token and the first to-be-used logical bucket name.
In this embodiment, the first user device may be a file capture device, including a portable document format file capture device, a picture format file capture device, and a video format file capture device, such as a high-speed camera, a scanner, and so on. The file acquisition component can acquire files with formats such as file in a file format capable of carrying documents, file in a picture format, file in a video format and the like, can support various acquisition modes of local import, a high-speed shooting instrument and a scanner, and is suitable for PC (personal computer) end application and mobile phone application.
The file collection component is internally packaged with a Portable Document Format (PDF) file collection configuration file, a picture Format file collection configuration file and a video Format file collection configuration file. The portable document format file acquisition configuration file can support acquisition of PDF format files and support functions of maximization, minimization, movement and the like of PDF; the picture format file acquisition configuration file can support the acquisition of the picture format file and comprises picture processing functions of checking, cutting, turning, moving, amplifying, reducing, downloading and the like of a picture; the video format file acquisition configuration file can support the acquisition of video format files and provide the functions of ordinary playing, double-speed playing, fast forwarding and the like of videos. The file acquisition component can simultaneously realize acquisition of the file with the portable document format, the file with the picture format and the file with the video format.
After receiving an equipment access request sent by first user equipment, a system analyzes the equipment access request to obtain a data acquisition component JS file, then obtains a first service address, a first token (token) with permission information and a first to-be-used logical bucket name of the first user equipment according to the data acquisition component JS file, initializes a functional component based on the first service address, the first token (token) with permission information and the first to-be-used logical bucket name of the first user equipment, and determines information such as a drive file matched with the first user equipment and packaged in the functional component, so that data acquisition can be realized through the first user equipment.
Optionally, the invoking, performed on the user equipment based on the initialized functional component in step S107 includes: and calling the first user equipment according to the initialized functional component to acquire the file uploaded by the first user equipment.
In this embodiment, since the functional component is initialized, the first user equipment may be called by the initialized functional component, so as to acquire the file. The data uploaded by the first user equipment can be obtained through local import, camera shooting and the like.
Optionally, after the file uploaded by the user is collected in step S107, the file may be edited, including adding a service index tag to the file, processing the picture file, and the like.
In the above embodiment, the data processing configuration files of the plurality of user equipments are packaged in the functional component, that is, the configuration files for calling the background interface function are packaged, so that different user equipments do not need to install a driver file when accessing the system, the functional component can be directly called to realize the service function, and the function of shielding the service difference is realized.
In one or more embodiments of the present description, the user equipment comprises a second user equipment; the functional components comprise a file retrieval component. In step S105, initializing a preset functional component according to the device access script file includes: and acquiring a second service address, a second token, a second standby logical bucket name and a business condition according to the equipment access script file, and initializing the functional component based on the second service address, the second token, the second standby logical bucket name and the business condition.
In this embodiment, the second user equipment may be a file retrieval device, and retrieval and display of a file with a document format, a file with a picture format, and a file with a video format can be realized through the file retrieval component. The file reading component can read files with formats such as a file with a file format, a picture format file, a video format file and the like, and supports PC application and mobile phone application.
The file retrieval component is internally packaged and can carry a document format file retrieval configuration file, a picture format file retrieval configuration file and a video format file retrieval configuration file. The portable document format file retrieval configuration file can support functions of maximization, minimization, movement and the like of a PDF file; the picture format file retrieval configuration file can support the functions of turning, moving, thumbnail, left-right switching and the like of the picture file; the video format file retrieval configuration file can support the functions of ordinary playing, double-speed playing, fast forwarding and the like of the video format file. The file retrieval component can simultaneously realize retrieval of the file with the portable document format, the file with the picture format and the file with the video format.
After receiving a device access request sent by a second user device, the system analyzes the device access request to obtain a data retrieval component JS file, then obtains a second service address of the second user device, a second token (token) with permission information, a second standby logical bucket name and corresponding business conditions according to the data retrieval component JS file, initializes the functional component based on the second service address of the second user device, the second token (token) with permission information, the second standby logical bucket name and the corresponding business conditions, and determines information such as a drive file matched with the second user device and packaged in the functional component, so that retrieval of the file can be realized through the second user device. Optionally, the invoking the device based on the initialized functional component in step S107 is implemented by: and calling the second user equipment to display the file according to a preset rule and the initialized functional component.
In this embodiment, since the functional component is initialized, the second user equipment can be called by the initialized functional component to retrieve the file based on the preset business rule provided. For example, the display of the service label can be realized, and the sorting can be performed according to the conditions of the file size, the creation time and the like.
Optionally, after the retrieval of the file is implemented in step S107, the method further includes: grouping the files based on file types; and calling the data processing interface to store the file and generating index information of the file.
In the embodiment, the files are grouped according to the file types, and the files of the same type are displayed in a classified manner, so that a user can experience a clearer interface. Meanwhile, the grouped files can be stored, and the files are stored by calling a background uploading interface and corresponding index information is generated. And the retrieval can be directly finished for the files which do not need to be stored.
In the embodiment, the function of business difference is shielded by packaging the file calling configuration files of various file types in the functional component, and the application sides of different businesses can perform the file calling function in a unified specification by adopting a public calling and reading mode; displaying the picture files, the PDF files and the video files in a unified style, and providing a common picture processing function and an index editing function; the files are displayed in groups according to different conditions, and convenience of an application party in retrieving the files is improved.
It should be noted that the method of one or more embodiments of the present disclosure may be performed by a single device, such as a computer or server. The method of the embodiment can also be applied to a distributed scene and completed by the mutual cooperation of a plurality of devices. In such a distributed scenario, one of the devices may perform only one or more steps of the method of one or more embodiments of the present disclosure, and the devices may interact with each other to complete the method.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Based on the same inventive concept, corresponding to the method of any embodiment described above, one or more embodiments of the present specification further provide an apparatus for invoking a device that shields a service difference. As shown in fig. 2, the apparatus includes:
a receiving module 11, configured to receive a device access request sent by a user equipment.
And the obtaining module 12 is configured to obtain the device access script file according to the device access request.
The initialization module 13 is configured to initialize a preset functional component according to the device access script file; and the functional component is used for packaging data processing configuration files of a plurality of user equipment.
And the calling module 14 is used for calling the user equipment based on the initialized functional components so as to collect or call the files uploaded by the user.
Optionally, the functional component includes a file collection component; the initialization module 13 is further configured to implement: and acquiring a first service address, a first token and a first to-be-used logical bucket name according to the equipment access script file, and initializing the functional component based on the first service address, the first token and the first to-be-used logical bucket name.
Optionally, the invoking module 14 is further configured to implement: and calling the first user equipment according to the initialized functional component to acquire the file uploaded by the first user equipment.
Optionally, the functional component comprises a file retrieval component; the initialization module 13 is further configured to implement: and acquiring a second service address, a second token, a second standby logical bucket name and a business condition according to the equipment access script file, and initializing the functional component based on the second service address, the second token, the second standby logical bucket name and the business condition.
Optionally, the invoking module 14 is further configured to implement: and calling the second user equipment to display the file according to a preset rule and the initialized functional component.
Optionally, the invoking module 14 is further configured to implement: grouping the files based on file types; and calling the data processing interface to store the file and generating index information of the file.
Optionally, the file includes a portable document format file, a picture format file, and a video format file.
For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, the functionality of the modules may be implemented in the same one or more software and/or hardware implementations in implementing one or more embodiments of the present description.
The apparatus of the foregoing embodiment is used to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, corresponding to any of the above-mentioned embodiments, one or more embodiments of the present specification further provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the device call method for shielding the service difference according to any of the above-mentioned embodiments when executing the program.
Fig. 3 is a schematic diagram illustrating a more specific hardware structure of an electronic device according to this embodiment, where the electronic device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein the processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 are communicatively coupled to each other within the device via bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 1020 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 1020 and called to be executed by the processor 1010.
The input/output interface 1030 is used for connecting an input/output module to input and output information. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 1040 is used for connecting a communication module (not shown in the drawings) to implement communication interaction between the present apparatus and other apparatuses. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
It should be noted that although the above-mentioned device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
The electronic device of the foregoing embodiment is used to implement the device call method for shielding service differences in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, one or more embodiments of the present specification further provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the device call method for masking service differences as described in any of the above embodiments.
Computer-readable media of the present embodiments, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
The computer instructions stored in the storage medium of the foregoing embodiment are used to enable the computer to execute the device call method for shielding service difference according to any embodiment, and have the beneficial effects of the corresponding method embodiment, which are not described herein again.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the spirit of the present disclosure, features from the above embodiments or from different embodiments may also be combined, steps may be implemented in any order, and there are many other variations of different aspects of one or more embodiments of the present description as described above, which are not provided in detail for the sake of brevity.
In addition, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown in the provided figures, for simplicity of illustration and discussion, and so as not to obscure one or more embodiments of the disclosure. Furthermore, devices may be shown in block diagram form in order to avoid obscuring the understanding of one or more embodiments of the present description, and this also takes into account the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the one or more embodiments of the present description are to be implemented (i.e., specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the disclosure, it should be apparent to one skilled in the art that one or more embodiments of the disclosure can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative instead of restrictive.
While the present disclosure has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic ram (dram)) may use the discussed embodiments.
It is intended that the one or more embodiments of the present specification embrace all such alternatives, modifications and variations as fall within the broad scope of the appended claims. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of one or more embodiments of the present disclosure are intended to be included within the scope of the present disclosure.
Claims (10)
1. A device calling method for shielding service difference is characterized by comprising the following steps:
receiving a device access request sent by user equipment;
acquiring a device access script file according to the device access request;
initializing a preset functional component according to the equipment access script file; a data processing interface of a plurality of user equipment is packaged in the functional component;
and calling the user equipment based on the initialized functional component so as to collect or retrieve the file uploaded by the user.
2. The method of claim 1, wherein the functional component comprises a file capture component;
initializing a preset functional component according to the device access script file, including:
and acquiring a first service address, a first token and a first to-be-used logical bucket name according to the equipment access script file, and initializing the functional component based on the first service address, the first token and the first to-be-used logical bucket name.
3. The method of claim 2, wherein the making of the call to the user equipment based on the initialized functional component comprises:
and calling the first user equipment according to the initialized functional component to acquire the file uploaded by the first user equipment.
4. The method of claim 3, wherein the functional component comprises a document retrieval component;
initializing a preset functional component according to the device access script file, including:
and acquiring a second service address, a second token, a second standby logical bucket name and a business condition according to the equipment access script file, and initializing the functional component based on the second service address, the second token, the second standby logical bucket name and the business condition.
5. The method of claim 4, wherein the invoking the device based on the initialized functional component implementation comprises:
and calling the second user equipment to display the file according to a preset rule and the initialized functional component.
6. The method of claim 5, further comprising:
grouping the files based on file types;
and calling the data processing interface to store the file and generating index information of the file.
7. The method of claim 1, wherein the files comprise portable document format files, picture format files, and video format files.
8. A device invocation apparatus for shielding service differences, comprising:
the receiving module is used for receiving a device access request sent by user equipment;
the acquisition module is used for acquiring the equipment access script file according to the equipment access request;
the initialization module is used for initializing the preset functional components according to the equipment access script file; the functional component is used for packaging data processing configuration files of a plurality of user equipment;
and the calling module is used for calling the user equipment based on the initialized functional component so as to acquire or retrieve the file uploaded by the user.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the device call method for masking service differences according to any one of claims 1 to 7 when executing the program.
10. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the device call method for masking service discrepancies of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011379654.1A CN112445576B (en) | 2020-11-30 | 2020-11-30 | Equipment calling method for shielding service difference and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011379654.1A CN112445576B (en) | 2020-11-30 | 2020-11-30 | Equipment calling method for shielding service difference and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112445576A true CN112445576A (en) | 2021-03-05 |
CN112445576B CN112445576B (en) | 2024-04-16 |
Family
ID=74739408
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011379654.1A Active CN112445576B (en) | 2020-11-30 | 2020-11-30 | Equipment calling method for shielding service difference and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112445576B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1754150A (en) * | 2003-01-09 | 2006-03-29 | 国际商业机器公司 | System and apparatus for eliminating user interaction during hardware configuration at system boot |
KR20070052328A (en) * | 2007-03-28 | 2007-05-21 | 텔레콤 이탈리아 소시에떼 퍼 아찌오니 | Method and system for providing interactive services in digital television |
CN102937940A (en) * | 2011-09-08 | 2013-02-20 | 微软公司 | Bidi extension for connected devices |
CN103810008A (en) * | 2014-02-19 | 2014-05-21 | 迈普通信技术股份有限公司 | Plug-in loading method and system |
CN105335173A (en) * | 2014-07-01 | 2016-02-17 | 北京奇虎科技有限公司 | Method, apparatus and system for initializing intelligent terminal device |
CN108469957A (en) * | 2018-03-08 | 2018-08-31 | 平安科技(深圳)有限公司 | Using packing method for uploading, device, computer equipment and storage medium |
CN108804618A (en) * | 2018-05-31 | 2018-11-13 | 康键信息技术(深圳)有限公司 | Configuration method for database, device, computer equipment and storage medium |
US20200104141A1 (en) * | 2018-09-27 | 2020-04-02 | American Megatrends, Inc. | Techniques of retrieving bios data from bmc |
CN111259412A (en) * | 2020-01-09 | 2020-06-09 | 远景智能国际私人投资有限公司 | Authority control method and device, computer equipment and storage medium |
CN111782232A (en) * | 2020-07-31 | 2020-10-16 | 平安银行股份有限公司 | Cluster deployment method and device, terminal equipment and storage medium |
-
2020
- 2020-11-30 CN CN202011379654.1A patent/CN112445576B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1754150A (en) * | 2003-01-09 | 2006-03-29 | 国际商业机器公司 | System and apparatus for eliminating user interaction during hardware configuration at system boot |
KR20070052328A (en) * | 2007-03-28 | 2007-05-21 | 텔레콤 이탈리아 소시에떼 퍼 아찌오니 | Method and system for providing interactive services in digital television |
CN102937940A (en) * | 2011-09-08 | 2013-02-20 | 微软公司 | Bidi extension for connected devices |
CN103810008A (en) * | 2014-02-19 | 2014-05-21 | 迈普通信技术股份有限公司 | Plug-in loading method and system |
CN105335173A (en) * | 2014-07-01 | 2016-02-17 | 北京奇虎科技有限公司 | Method, apparatus and system for initializing intelligent terminal device |
CN108469957A (en) * | 2018-03-08 | 2018-08-31 | 平安科技(深圳)有限公司 | Using packing method for uploading, device, computer equipment and storage medium |
CN108804618A (en) * | 2018-05-31 | 2018-11-13 | 康键信息技术(深圳)有限公司 | Configuration method for database, device, computer equipment and storage medium |
US20200104141A1 (en) * | 2018-09-27 | 2020-04-02 | American Megatrends, Inc. | Techniques of retrieving bios data from bmc |
CN111259412A (en) * | 2020-01-09 | 2020-06-09 | 远景智能国际私人投资有限公司 | Authority control method and device, computer equipment and storage medium |
CN111782232A (en) * | 2020-07-31 | 2020-10-16 | 平安银行股份有限公司 | Cluster deployment method and device, terminal equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112445576B (en) | 2024-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110874217B (en) | Interface display method and device for quick application and storage medium | |
KR20150034724A (en) | Image identification and organisation according to a layout without user intervention | |
CN112181554B (en) | Interactive interface display method, device, electronic device and storage medium | |
CN107786630B (en) | Web application package processing method, device and equipment | |
CN110554874A (en) | Method and device for reusing webpage components of SaaS platform | |
CN111813465B (en) | Information acquisition method, device, medium and equipment | |
CN112347404A (en) | SPA page rendering method, device and system and storage medium | |
RU2679562C1 (en) | Method of video playback and device | |
US8762429B1 (en) | File location application programming interface | |
CN112445576A (en) | Equipment calling method for shielding service difference and related equipment | |
CN111078900A (en) | Data risk identification method and system | |
CN112465653A (en) | Insurance business processing method, device, equipment and storage medium | |
CN105045792B (en) | Apparatus and method for integrated management of data and mobile device | |
CN111737109A (en) | Cluster file system testing method and device | |
CN112000319A (en) | Logistics service code generation method, client, electronic equipment and system | |
CN112488687A (en) | Payment mode configuration method, device, equipment and storage medium | |
CN110502551A (en) | Data read-write method, system and infrastructure component | |
CN112306469A (en) | Barrier-free component construction method, device, equipment and storage medium | |
CN113986850B (en) | Storage method, device, equipment and computer readable storage medium of electronic volume | |
CN114968447A (en) | Online webpage generation and management method and related equipment | |
CN111104626B (en) | Information storage method and device | |
WO2015050284A1 (en) | Electronic system with content presentation mechanism and method of operation thereof | |
CN118051249A (en) | Storage method, device, equipment, medium and vehicle of vehicle domain controller version | |
CN116048506A (en) | Interface display method and related equipment | |
CN104850626A (en) | Method and apparatus for displaying album as search result |
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 |