A method and device for assembling equipment
By obtaining the device assembly request and the pre-stored association relationship, the business module of the terminal device is determined and assembled, which solves the problem of poor adaptability caused by the fixed functional modules of the terminal device and realizes the flexible adaptability of the device function.
Patent Information
- Application Number
- CN202010124902.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-02-27
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2040-02-27
AI Technical Summary
Due to the fixed function modules of existing terminal equipment, it is difficult to adjust functions according to the needs of different scenarios, resulting in poor adaptability.
By obtaining the device assembly request and the pre-stored association relationship, the business module corresponding to the business function is determined, and the device is assembled according to the business module to support the functional requirements of different scenarios, including adjusting the usage mode and sharing mode of the execution hardware.
The functional adaptability of the equipment has been improved, allowing it to be assembled and configured according to the needs of different scenarios, improving the adaptability and flexibility of the equipment.
Smart Images

Figure CN111367571B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic technology, and in particular to an assembly method and device for equipment. Background Art
[0002] With the development of electronic technology, various terminal devices are being applied more and more widely. Existing terminal devices are generally designed as an integrated type, and each functional module of the integrated terminal device is fixedly arranged, so that the functions supported by the integrated terminal device are also fixed.
[0003] However, when the terminal device is used in different scenarios, different functional supports may be required. Since the functional modules of the integrated terminal are fixed, it is difficult for the integrated terminal to adjust the functional modules according to the requirements of different scenarios, and it is also impossible to adjust the functions according to the requirements of different scenarios, resulting in poor adaptability of the terminal device. Summary of the invention
[0004] In view of this, an embodiment of the present invention provides a device assembly method, which can determine the business module corresponding to the business function according to the business function indicated by the assembly request and the pre-stored association relationship, and then assemble the device according to the determined business module. It can be realized to assemble the device according to the business functions required by different scenarios, so that the device can adapt to the functions required by different scenarios, thereby improving the adaptability of the device.
[0005] To achieve the above objective, according to one aspect of an embodiment of the present invention, a method for assembling a device is provided.
[0006] A device assembly method according to an embodiment of the present invention includes: obtaining an assembly request of a device, wherein the assembly request indicates one or more service functions of the device;
[0007] According to the pre-stored association relationship, the business modules corresponding to the one or more business functions are determined to assemble the device according to the business modules; wherein the association relationship indicates the business modules corresponding to the one or more business functions respectively.
[0008] Optionally, the association relationship further indicates one or more execution hardware corresponding to the business module;
[0009] The determining, according to the pre-stored association relationship, a service module corresponding to the one or more service functions, so as to assemble the device according to the service module, includes:
[0010] According to the association relationship, one or more execution hardware corresponding to the business module is determined, so as to assemble the device by using the determined one or more execution hardware.
[0011] Optionally,
[0012] The assembly request of the device also indicates the execution mode of the business function;
[0013] According to the execution mode of the business function and the association relationship, one or more execution hardware corresponding to the business function is determined, and the use mode of the one or more execution hardware is adjusted according to the execution mode.
[0014] Optionally,
[0015] When the execution mode of the business function is a shared mode,
[0016] According to the sharing method, one or more execution hardware corresponding to the business function in other devices are determined, and the usage mode of the one or more execution hardware in other devices is adjusted to a sharing mode, so that the device shares the one or more execution hardware corresponding to the same business function with the other devices.
[0017] Optionally,
[0018] The distance between the deployment location of the device and the deployment location of the other device is not greater than a threshold.
[0019] Optionally, the method further comprises:
[0020] When there is a newly added service module and / or newly added execution hardware, the association relationship is updated according to the service functions corresponding to the newly added service module and / or the newly added execution hardware.
[0021] Optionally, the method further comprises:
[0022] Configure the functional interface corresponding to the business module;
[0023] When a service request is received, the service module corresponding to the service request is called through the functional interface to implement the service function corresponding to the called service module.
[0024] Optionally, the method further comprises:
[0025] According to the type of the device, a basic module of the device is determined, so as to assemble the device according to the basic module and the business module.
[0026] Optionally,
[0027] The device includes any one or more of the following: a financial terminal, an advertising terminal, and a navigation terminal.
[0028] Optionally,
[0029] When the device is a financial terminal, the basic module includes any one or more of the following: a touch screen, an electronic signature module, a key acquisition module, a card reading module, an identity recognition module, a face recognition module, and a printing module.
[0030] To achieve the above objective, according to another aspect of an embodiment of the present invention, a device for assembling a device is provided.
[0031] An assembly device of a device according to an embodiment of the present invention comprises: an acquisition module and a processing module; wherein:
[0032] The acquisition module is used to acquire an assembly request of a device, where the assembly request indicates one or more business functions of the device;
[0033] The processing module is used to determine the business modules corresponding to the one or more business functions according to the pre-stored association relationship, so as to assemble the device according to the business modules; wherein the association relationship indicates the business modules corresponding to the one or more business functions respectively.
[0034] Optionally,
[0035] The association relationship also indicates one or more execution hardware corresponding to the business module;
[0036] The processing module is used to determine one or more execution hardware corresponding to the business module according to the association relationship, so as to assemble the device using the determined one or more execution hardware.
[0037] Optionally,
[0038] The assembly request of the device also indicates the execution mode of the business function;
[0039] The processing module is used to determine one or more execution hardware corresponding to the business function according to the execution mode of the business function and the association relationship, and adjust the use mode of the one or more execution hardware according to the execution mode.
[0040] Optionally,
[0041] The processing module is used to update the association relationship according to the business functions corresponding to the newly added business modules and / or the newly added execution hardware when there are newly added business modules and / or newly added execution hardware.
[0042] To achieve the above objective, according to another aspect of an embodiment of the present invention, an electronic device for device assembly is provided.
[0043] An electronic device for device assembly according to an embodiment of the present invention comprises: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement an assembly method of a device according to an embodiment of the present invention.
[0044] To achieve the above objective, according to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided.
[0045] A computer-readable storage medium according to an embodiment of the present invention stores a computer program, and when the program is executed by a processor, an assembly method of a device according to an embodiment of the present invention is implemented.
[0046] An embodiment of the above invention has the following advantages or beneficial effects: according to the business function indicated by the assembly request and the pre-stored association relationship, the business module corresponding to the business function is determined, and then the device is assembled according to the determined business module, thereby realizing the assembly of devices according to the business functions required by different scenarios, so that the device can adapt to the functions required by different scenarios, thereby improving the adaptability of the device.
[0047] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.
[0049] Figure 1 is a schematic diagram of the main steps of an assembly method of a device provided according to an embodiment of the present invention;
[0050] Figure 2 is a schematic diagram of the association relationship between a service module and a service function provided according to an embodiment of the present invention;
[0051] Figure 3 is a schematic diagram of the association relationship between a service module and execution hardware provided according to an embodiment of the present invention;
[0052] Figure 4 is a structural schematic diagram of an assembly device of a device provided according to an embodiment of the present invention;
[0053] Figure 5 is a schematic diagram of main modules of an assembly device of a device provided according to an embodiment of the present invention;
[0054] Figure 6 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;
[0055] Figure 7 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0056] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0057] It should be pointed out that the embodiments of the present invention and the technical features therein may be combined with each other without conflict.
[0058] Figure 1 is a schematic diagram of the main steps of the assembly method of the device according to an embodiment of the present invention.
[0059] like Figure 1 As shown, the assembly method of the device of the embodiment of the present invention mainly includes the following steps:
[0060] Step S101: obtaining an assembly request of a device, wherein the assembly request indicates one or more business functions of the device.
[0061] Step S102: Determine the business modules corresponding to the one or more business functions according to the pre-stored association relationship, so as to assemble the device according to the business modules; wherein the association relationship indicates the business modules corresponding to the one or more business functions respectively.
[0062] The assembly method of the device provided in the embodiment of the present invention can be applied to the assembly of various types of devices, such as financial terminals, advertising terminals, and navigation terminals. It is understandable that different types of devices have their basic functions. For example, an ATM has a basic withdrawal function, so the ATM must have a basic module that supports the withdrawal function, and these basic modules may include a touch screen that can receive user operation instructions; there is also an electronic signature module, a key acquisition module, and the key acquisition module may be a password keyboard, and may also include a card reading module, an identity recognition module (such as an ID card reader and a fingerprint reader, etc.), a face recognition module (such as a face camera), a printing module (such as a receipt printer), etc. For another example, an advertising terminal has a basic advertising playback function, so the advertising terminal must also have a basic module that supports the advertising playback function, such as a module for acquiring advertising resources and a display screen for displaying advertisements.
[0063] When the device is used in different scenarios, different business functions may need to be configured according to different scenarios. These business functions correspond to different business modules, which are generally modules with low frequency of use. Taking the ATM as an example, the business modules corresponding to different business functions may include card issuing module, shield issuing module, laser printer module, check printer module, passbook printer module, check module, hatch and secondary screen, etc.
[0064] When assembling equipment, the corresponding business module can be determined according to the business functions required by the scene, and the basic module of the equipment can be determined according to the type of equipment, and then the equipment can be assembled according to the basic module and the business modules corresponding to different business functions. Among them, the business functions required by the scene can be customized by the user, and then sent to the equipment assembly device that can implement the equipment assembly method of the embodiment of the present invention through the equipment assembly request.
[0065] In the equipment assembly device, the association relationship between the business module and the business function is pre-stored, and the stored association relationship can be as follows: Figure 2 As shown, in Figure 2 In the shown association relationship, the module number, module name and module description of the business module, as well as the function number, function name and function description of the business function are recorded, and the mapping relationship between the business function and the business module is recorded through the business function-business module mapping. In the business function-business module mapping, the function number and module number corresponding to the business function and business module with a mapping relationship are recorded.
[0066] In order to facilitate users to view the business modules corresponding to business functions, the assembly device of the device provided in the embodiment of the present invention can provide a view page for displaying business functions and business modules. In this view page, the user can check one or more business functions, and then the assembly device of the device can determine the business modules corresponding to the one or more business functions based on the pre-stored association relationship, and display these business modules through the view page, so that the user can intuitively query the business module corresponding to the business function through the view page. Of course, the user can also check one or more business modules on the view page to view the business functions corresponding to these business modules.
[0067] In addition, when there is a new business module, the association relationship can be updated according to the business function corresponding to the new business module. For example, before the application of shared card issuance technology, the card issuance of users on the ATM is generally implemented through the local card issuance module, that is, the association relationship regarding card issuance can be card issuance-local card issuance module, where card issuance is a business function and the local card issuance module is the corresponding business module. After the shared card issuance technology is put into use, the shared card issuance module can be used for card issuance. At this time, the association relationship between the business module and the business function needs to be updated according to the newly added shared card issuance technology and its card issuance function. The updated association relationship can be local card issuance module-card issuance-shared card issuance module.
[0068] It can be understood that the relationship between business functions and business modules can be one-to-one, that is, one business function can only be implemented through one business module; it can also be a one-to-many relationship, that is, one business function can be implemented through multiple business modules; it can also be a many-to-many relationship, that is, one business function can be implemented through multiple business modules, and one business module can also implement multiple business functions.
[0069] Therefore, by timely updating the association relationship between business functions and business modules, users can intuitively view the business modules corresponding to the business functions, or the business functions corresponding to the business modules through the view page, thereby facilitating users' selection of business modules. Moreover, by displaying the association relationship between business modules and business functions, it is also beneficial for users to select the least number of business modules when realizing the same business function, thereby helping to reduce the cost of assembling equipment.
[0070] In one embodiment of the present invention, the association relationship also indicates one or more execution hardware corresponding to the business module, so that one or more execution hardware corresponding to the business module can be determined based on the association relationship, so as to assemble the device using the determined one or more execution hardware.
[0071] Here, the association relationship not only records the mapping relationship between the business module and the business function, but also records the mapping relationship between the business module and the execution hardware. The association relationship between the business module and the execution hardware can be as follows: Figure 3 As shown, in Figure 3 In the shown association relationship, the module number, module name and module description of the business module, as well as the hardware number, hardware name and hardware description of the execution hardware are recorded. The mapping relationship between the business module and the execution hardware is recorded through the business module-execution hardware mapping. In the business module-execution hardware mapping, the module number and hardware number corresponding to the business module and the execution hardware with a mapping relationship are recorded.
[0072] For example, the electronic signature function corresponds to the electronic signature module, and the multiple execution hardware corresponding to the electronic signature module include a signature pen, a touch screen, and a chip for encryption. By recording the mapping relationship between business functions, business modules, and execution hardware through association relationships, after determining the business modules and execution hardware corresponding to the business functions, it is convenient to use the execution hardware to complete the assembly of the device at the hardware level, and to complete the configuration of the device at the software layer through the business module.
[0073] In addition, similar to the newly added business module, when there is newly added execution hardware, the association relationship can be updated according to the business function corresponding to the newly added execution hardware.
[0074] It is understandable that after determining the business modules corresponding to multiple business functions of the same device, the multiple business modules can be packaged to form a module combination, and a mapping relationship between the device and the module combination can be established to facilitate the installation of the device.
[0075] In one embodiment of the present invention, when an assembly request is sent to the assembly device of a device, the assembly request of the device can also indicate the execution method of the business function; so that the assembly device of the device determines one or more execution hardware corresponding to the business function according to the execution method of the business function and the association relationship, and adjusts the usage mode of the one or more execution hardware according to the execution method.
[0076] For example, when the execution mode of the business function can be a shared mode or a local mode. When the execution mode of the business function is a shared mode, it means that the execution hardware corresponding to the business function may need to be shared with the execution hardware corresponding to the business function in other devices. In this case, the assembly device of the device can determine one or more execution hardware corresponding to the business function in other devices according to the sharing mode, and adjust the usage mode of one or more execution hardware in other devices to a sharing mode, so that the device shares the one or more execution hardware corresponding to the same business function with the other devices.
[0077] Taking the card issuing function of an ATM as an example, when the card issuing function of device A is in a shared mode, the device assembly device can first determine the execution hardware corresponding to the card issuing function in device B with the card issuing function. If the current usage mode of the execution hardware corresponding to the card issuing function in device B is a shared mode, then keep its current usage mode unchanged. If the current usage mode of the execution hardware corresponding to the card issuing function in device B is a local mode, then adjust its current usage mode to a shared mode, so that device A and device B can share the execution hardware corresponding to the card issuing function. Among them, device B can be an ATM that has been assembled and deployed, or a device to be assembled.
[0078] In order to improve the user experience, the distance between the deployment locations of multiple devices with shared functions is not greater than a threshold. For example, for an ATM, multiple devices that share one or more execution hardware are generally devices of the same branch. The shared one or more execution hardware can be integrated into a certain device or can be independent of the device. For example, when device C and device D share execution hardware corresponding to a printing function, the execution hardware can be integrated into device C, or can be integrated into device D, or can exist independently of device C and device D, such as deploying a shareable printer between device C and device D, so that the printing functions of device C and device D are both implemented through the printer.
[0079] In addition, when the business function is executed in a local manner, the execution hardware of the device is generally integrated into the device, and even if different devices have the same business function, the execution hardware corresponding to the business function needs to be assembled in each device. That is to say, when the business function is executed in a local manner, corresponding to the same business function, different devices correspond to multiple execution hardware.
[0080] After determining the business modules corresponding to the business functions of the device and the corresponding execution hardware, the device assembly device can configure the combination of business modules according to the determined multiple business modules, and configure the functional interface of the business module according to the execution mode of each business module. After the device is assembled, the processing logic of the functional interface of each business module can be initialized when the device is turned on, so that when a business request is received, the business module corresponding to the business request is called through the functional interface to implement the business function corresponding to the called business module, thereby realizing the processing logic of each business module in an object-oriented manner, making it easier and more transparent for application developers to call business modules.
[0081] In the assembly device of the device, the configuration of the service functions of the device can be realized through the function interface layer, the adaptation layer, the implementation layer and the basic layer. The structural diagram of the function interface layer, the adaptation layer, the implementation layer and the basic layer can be shown as follows: Figure 4As shown. Among them, the peripheral module interface layer is a unified interface provided by each business module to the application function call, which maintains a basically consistent input and output data format to ensure that the application use process only cares about the definition of the interface itself, rather than the specific implementation process. The adaptation layer is mainly used to obtain the background configuration information of each business module to determine the actual implementation method of the functional interface of each business module. The adaptation layer can also add some interfaces to implement common logic, such as adding parameters and introducing public processes. The implementation layer is where the processing logic of the functional interface of the business module is truly implemented, and the processing logic of different business modules is completed for different models of execution hardware and / or different usage scenarios. The basic layer provides basic capabilities such as peripheral resource access, message passing, view rendering, etc., and helps to finally complete the execution of hardware calls, UI rendering, edge computing, message forwarding, and scene control.
[0082] Taking the card issuance function as an example, when the device is powered on, the configuration information of the card issuance module is loaded, and the functional interface of the card issuance module is initialized. When a card issuance request is received, the functional interface of the card issuance module is called, and different modes of card issuance are performed according to the execution mode of the card issuance module. Specifically, when the execution mode of the card issuance module is local card issuance, the card issuance module adapter can be used to call the execution hardware process so that the card box issues the card. If it is a shared card issuance mode, the card issuance request is sent to other shared devices through the IoT edge server, and then the execution hardware process of the shared device is called to make the card box issue the card.
[0083] It can be seen from the assembly method of the device according to the embodiment of the present invention that, according to the business function indicated by the assembly request and the pre-stored association relationship, the business module corresponding to the business function is determined, and then the device is assembled according to the determined business module, thereby realizing the assembly of the device according to the business functions required for different scenarios, so that the device can adapt to the functions required in different scenarios, thereby improving the adaptability of the device.
[0084] Figure 5 Schematic diagram of main modules of an assembly device of a device according to an embodiment of the present invention.
[0085] like Figure 5 As shown, the device assembly apparatus 500 of the embodiment of the present invention includes: an acquisition module 501 and a processing module 502; wherein,
[0086] The acquisition module 501 is used to acquire an assembly request of a device, where the assembly request indicates one or more business functions of the device;
[0087] The processing module 502 is used to determine the business modules corresponding to the one or more business functions according to the pre-stored association relationship, so as to assemble the device according to the business modules; wherein the association relationship indicates the business modules corresponding to the one or more business functions respectively.
[0088] In one embodiment of the present invention, the association relationship also indicates one or more execution hardware corresponding to the business module; the processing module 502 is used to determine one or more execution hardware corresponding to the business module according to the association relationship, so as to assemble the device using the determined one or more execution hardware.
[0089] In one embodiment of the present invention, the assembly request of the device also indicates the execution method of the business function; the processing module 502 is used to determine one or more execution hardware corresponding to the business function according to the execution method of the business function and the association relationship, and adjust the usage mode of the one or more execution hardware according to the execution method.
[0090] In one embodiment of the present invention, the processing module 502 is used to determine one or more execution hardware corresponding to the business function in other devices according to the sharing mode when the execution mode of the business function is a sharing mode, and adjust the usage mode of the one or more execution hardware in the other devices to a sharing mode, so that the device shares the one or more execution hardware corresponding to the same business function with the other devices.
[0091] In one embodiment of the present invention, the distance between the deployment location of the device and the deployment location of the other device is not greater than a threshold.
[0092] In one embodiment of the present invention, the processing module 502 is used to update the association relationship according to the business functions corresponding to the newly added business modules and / or the newly added execution hardware when there are newly added business modules and / or newly added execution hardware.
[0093] In one embodiment of the present invention, the processing module 502 is also used to configure the functional interface corresponding to the business module; when a business request is received, the business module corresponding to the business request is called through the functional interface to implement the business function corresponding to the called business module.
[0094] In one embodiment of the present invention, the processing module 502 is further used to determine the basic module of the device according to the type of the device, so as to assemble the device according to the basic module and the business module.
[0095] It can be seen from the assembly device of the equipment according to the embodiment of the present invention that, according to the business function indicated by the assembly request and the pre-stored association relationship, the business module corresponding to the business function is determined, and then the equipment is assembled according to the determined business module, thereby realizing the assembly of equipment according to the business functions required by different scenarios, so that the equipment can adapt to the functions required by different scenarios, thereby improving the adaptability of the equipment.
[0096] Figure 6 An exemplary system architecture 600 is shown to which a device assembly method or device assembly apparatus according to an embodiment of the present invention can be applied.
[0097] like Figure 6 As shown, system architecture 600 may include terminal devices 601, 602, 603, network 604 and server 605. Network 604 is used to provide a medium for communication links between terminal devices 601, 602, 603 and server 605. Network 604 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0098] The user can use the terminal devices 601, 602, 603 to interact with the server 605 through the network 604 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 601, 602, 603, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc.
[0099] The terminal devices 601 , 602 , and 603 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers, etc.
[0100] The server 605 may be a server that provides various services, such as a backend management server that provides support for shopping websites browsed by users using the terminal devices 601, 602, and 603. The backend management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as target push information and product information) to the terminal device.
[0101] It should be noted that the device assembly method provided in the embodiment of the present invention is generally executed by the server 605 , and accordingly, the device assembly device is generally arranged in the server 605 .
[0102] It should be understood that Figure 6 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0103] Reference below Figure 7, which shows a schematic diagram of the structure of a computer system 700 of a terminal device suitable for implementing an embodiment of the present invention. Figure 7 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0104] like Figure 7 As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0105] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage section 708 as needed.
[0106] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the above-mentioned functions defined in the system of the present invention are executed.
[0107] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0108] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0109] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be set in a processor, for example, it may be described as: a processor includes an acquisition module and a processing module. The names of these modules do not constitute a limitation on the modules themselves in some cases, for example, the acquisition module may also be described as a "module for acquiring an assembly request of a device".
[0110] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: obtaining an assembly request of a device, the assembly request indicating one or more business functions of the device; determining business modules corresponding to the one or more business functions according to a pre-stored association relationship, so as to assemble the device according to the business module; wherein the association relationship indicates the business modules corresponding to the one or more business functions.
[0111] According to the technical solution of the embodiment of the present invention, the business module corresponding to the business function is determined according to the business function indicated by the assembly request and the pre-stored association relationship, and then the device is assembled according to the determined business module. This realizes the assembly of devices according to the business functions required for different scenarios, so that the devices can adapt to the functions required in different scenarios, thereby improving the adaptability of the devices.
[0112] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for assembling a device, It is characterized in that include: Obtaining an assembly request of a device, wherein the assembly request indicates one or more business functions of the device and a method for executing the business functions; Determine the business modules corresponding to the one or more business functions according to the pre-stored association relationship; wherein the association relationship indicates the business modules corresponding to the one or more business functions respectively; According to the type of the device, determine the basic module of the device, so as to assemble the device according to the basic module and the business module; when the device is a financial terminal, the basic module includes any one or more of the following: a touch screen, an electronic signature module, a key acquisition module, a card reading module, an identity recognition module, a face recognition module, and a printing module; the business module is a module with low frequency of use; the business module includes any one or more of the following: a card issuing module, a shield issuing module, a laser printer module, a check printer module, a passbook printer module, a check module, a hatch, and a secondary screen; When the execution mode of the business function is a shared mode, According to the sharing mode, one or more execution hardware corresponding to the business function is determined from other devices in the same network point, and the use mode of the one or more execution hardware in the determined other devices is adjusted to a sharing mode, so that the device shares the one or more execution hardware corresponding to the same business function with the other devices; The functional interface corresponding to the business module is configured as a unified interface through the peripheral module interface layer; when a business request is received through the unified interface, the business module corresponding to the business request is called through the functional interface based on the implementation layer, and the business function corresponding to the called business module is implemented according to the execution mode of the business module; the execution mode is local mode or shared mode.
2. The method according to claim 1, It is characterized in that The association relationship also indicates one or more execution hardware corresponding to the business module; The determining, according to the pre-stored association relationship, a service module corresponding to the one or more service functions, so as to assemble the device according to the service module, includes: According to the association relationship, one or more execution hardware corresponding to the business module is determined, so as to assemble the device by using the determined one or more execution hardware.
3. The method according to claim 1, It is characterized in that The distance between the deployment location of the device and the deployment location of the other device is not greater than a threshold.
4. The method according to claim 2, It is characterized in that Also includes: When there is a newly added service module and / or newly added execution hardware, the association relationship is updated according to the service functions corresponding to the newly added service module and / or the newly added execution hardware.
5. The method according to claim 1, It is characterized in that The device further includes any one or two of the following: an advertising terminal and a navigation terminal.
6. An assembly device for an apparatus, It is characterized in that include: Acquisition module and processing module; wherein, The acquisition module is used to acquire an assembly request of a device, where the assembly request indicates one or more business functions of the device and an execution method of the business functions; The processing module is used to determine the business module corresponding to the one or more business functions according to the pre-stored association relationship; wherein the association relationship indicates the business modules corresponding to the one or more business functions respectively; according to the type of the device, the basic module of the device is determined to assemble the device according to the basic module and the business module; when the device is a financial terminal, the basic module includes any one or more of the following: touch screen, electronic signature module, key acquisition module, card reading module, identity recognition module, face recognition module, printing module; the business module is a module with low frequency of use; the business module includes any one or more of the following: card issuance module, shield issuance module, laser printer module, check printer module, passbook printer module, check module, door and secondary screen; when the execution mode of the business function is a sharing mode, one or more execution hardware corresponding to the business function in other devices are determined according to the sharing mode, and the usage mode of the one or more execution hardware in other devices determined is adjusted to a sharing mode, so that the device and the other devices share the one or more execution hardware corresponding to the same business function; the functional interface corresponding to the business module is configured as a unified interface through the peripheral module interface layer; when a business request is received through the unified interface, the business module corresponding to the business request is called through the functional interface based on the implementation layer, and the business function corresponding to the called business module is implemented according to the execution mode of the business module; the execution mode is a local mode or a sharing mode.
7. An electronic device, It is characterized in that include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.
8. A computer readable medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Entire car personalized configuration system based on case illation technology
CN101246509A
Method, client and system for customizing IMS (Information Management System) service
CN101964776A
Control program modularization system for numerical control machine
CN102221828A
Television interaction method and television interaction system
CN105282625A
Quick modularized assembling method, device and system of virtual machine disk mirror image
CN105955674A
