Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
FIG. 1 is a schematic diagram of a processing system according to an embodiment of the present invention, as shown in FIG. 1, comprising: themanagement system 11 is used for managing service resources of the target application and error messages corresponding to the service resources; thefront end 13 of the target application is used for sending a request instruction and receiving data corresponding to the request instruction; and theback end 15 of the target application is respectively in communication connection with themanagement system 11 and thefront end 13 of the target application, and is used for calling the complete error code and the description information corresponding to the error code from themanagement system 11 to generate an error message when a calling exception occurs in the request instruction, and returning the error message to thefront end 13 of the target application, wherein the error message at least comprises the error code and the description information corresponding to the error code.
The target application includes, but is not limited to, 3D cloud design software (tool), etc., and may implement cloud design in the full-space fields of home, public installation, building, real estate, etc., and in the specific implementation process, the target application is not limited to the above target application. It should be noted that the processing system can also be applied to different application scenarios, such as a customer service system, an intelligent work order, a management center, a business first-aid kit, a careless grocery shop applet, and the like. Due to the error code identification and search functions, key information of tool online Questions such as description information, agile groups and Frequently Asked Questions (FAQ) can be quickly obtained, and the online Questions can be located more quickly.
The rear end and the management system of the target application can be deployed in a cloud server, a distributed server and the like, and the front end of the target application can be a computer device, a tablet, a smart phone and the like.
In the embodiment of the present invention, a management system in the processing system is configured to manage a service resource of a target application and an error message corresponding to the service resource; the front end of the target application is used for sending a request instruction and receiving data corresponding to the request instruction; the back end of the target application is respectively in communication connection with the management system and the front end of the target application, and is used for calling complete error codes and description information corresponding to the error codes from the management system to generate error messages when a calling abnormality occurs in a request instruction, and returning the error messages to the front end of the target application, wherein the error messages at least comprise the error codes and the description information corresponding to the error codes, when the calling abnormality occurs in the request instruction, the back end of the target application calls related information from the management system to generate error messages containing the error codes and the description information, and the error messages are returned to the front end of the target application, so that the purpose of quickly positioning and processing the online problems of the target application is achieved, the technical effects of prepositioning the problems and improving the problem positioning and analyzing efficiency are achieved, the problem feedback of the online problems of a traditional tool user in the related technology is mainly based on user-customer service online question answering, the method has the technical problems of difficult on-line problem positioning, low troubleshooting efficiency and incomplete information.
In an optional embodiment, the management system includes: the system comprises a distributed configuration center and a multi-language middle station, wherein the rear end of a target application is respectively in communication connection with the distributed configuration center and the multi-language middle station and is used for calling a standard packaging class of a middleware, acquiring a complete error code from the distributed configuration center and acquiring description information corresponding to the error code from the multi-language middle station to generate an error message.
The middleware provides an error code toolkit that includes a plurality of standard encapsulation classes, such as standard Result < > encapsulation classes, and the like.
In a specific implementation process, the back end of the target application can call a standard encapsulation class of the middleware, obtain a complete error code from the distributed configuration center and obtain description information corresponding to the error code from the multi-language platform, and further generate an error message by using the complete error code and the description information corresponding to the error code.
In an alternative embodiment, the distributed configuration center is configured to receive the service identifier of the error code, and generate a complete error code according to the service identifier of the error code.
The service identifier of the error code is the first 4 bits of the error code. In the specific implementation process, the error code has 8 bits, and the first 4 bits of the error code can be used as a service identifier to serve as a unique distinguishing identifier of the error code.
In an alternative embodiment, after receiving the service identifier of the error code, the distributed configuration center customizes the last 4 bits of the error code according to the service identifier of the error code, and since the service identifier of the error code is the first 4 bits of the error code, the first 4 bits of the error code and the last 4 bits of the customized error code may be combined, thereby generating a complete error code.
In an optional embodiment, the management system further includes: the service resource management center is used for managing service resources of the target application; and the error code management center is in communication connection with the service resource management center and the distributed configuration center respectively and is used for synchronizing the service resources of the target application of the service resource management center, calculating the service identifier of the error code and pushing the service identifier of the error code to the distributed configuration center.
In a specific implementation process, the error code management center may synchronize the service resource of the target application of the service resource management center according to a preset time period, and automatically calculate the service identifier of the error code. The predetermined time period may be 30 seconds, 1 minute, 15 minutes, 6 hours, etc., and is not limited thereto. In addition, the service resource management center can also push the first 4 bits of the error code as a service identifier to the distributed configuration center.
In an alternative embodiment, the service resource management center comprises: the generating module is used for generating a service identifier of the new service according to the application service resource of the new service; and the storage module is used for storing the existing service and the service identifier generated by the existing service.
For new services, a service resource is required to be applied from a service resource management center first, and then a service identifier is generated; for the existing service of the service resource management center, in the pre-operation, the service identifier is generated and can be stored. The management of the new service and the existing service can be respectively realized through the implementation mode.
In an alternative embodiment, the error code management center comprises: the first pushing module is used for pushing the service identifier of the error code corresponding to the existing service to the distributed configuration center; and the second pushing module is used for acquiring the service identifier of the error code corresponding to the new service, automatically pushing the service identifier to the distributed configuration center, and recording the service identifier of the error code corresponding to the new service into the distributed configuration page corresponding to the new service.
In a specific implementation process, the first pushing module can push the service identifier of the error code corresponding to the existing service to the distributed configuration center at one time; the second pushing module is mainly used for acquiring the service identifier of the error code corresponding to the new service, automatically pushing the service identifier to the distributed configuration center, and recording the service identifier of the error code corresponding to the new service into the distributed configuration page corresponding to the new service. By the implementation mode, different pushing processing can be performed on the existing service and the new service, so that the pushing mode of the system is more flexible.
In an optional embodiment, the error code management center is in communication connection with the multi-language center, and is configured to introduce the error code and description information corresponding to the error code into the multi-language center through a preset interface.
The multi-language middle station can perform translation processing with a uniform format on the description information according to the keywords in the error codes, so that the description information is unified.
In an optional embodiment, the system further includes: and the monitoring module is respectively in communication connection with the rear end of the target application and the error code management center and is used for acquiring monitoring data of the rear end of the target application and synchronizing the monitoring data to the error code management center so that the error code management center updates the error codes.
In a specific implementation process, the monitoring data includes not only error codes, descriptions, services, interfaces, and the like, but also data that is screened and counted according to preset error codes.
In an alternative embodiment, the front end of the target application is further configured to display an error message.
In a specific implementation process, the front end of the target application may display the error code and description information corresponding to the error code.
In an optional embodiment, the system further includes: and the help center is in communication connection with the front end of the target application and is used for generating the use help information corresponding to the error code according to the error code in the error message.
By the implementation mode, the error code can be fed back to the help center to acquire the use help information.
An alternative embodiment of the invention is described in detail below.
In order to solve the traditional 3D cloud design tool, the problem that the on-line problem positioning of the tool is slow is solved. The optional embodiment of the invention provides a system for quickly positioning and processing the on-line problems of a tool user based on 3D cloud design software, and for the on-line problems in the use of the tool of the 3D cloud design software, a certain error prompt is given to guide and solve the problems, relatively effective analysis information can be provided, the information difference among users, customer service and technical teams is reduced, the problems are positioned in the front, the problem positioning and analysis efficiency is improved, and the human efficiency is improved.
Compared with the traditional 3D cloud design tool design software, the following differences exist: the method is used by combining with a 3D tool, and by combining with a service resource management center, an error code management center, a distributed configuration center, a cloud design tool rear end (corresponding to a rear end of a target application), a multi-language middle station, monitoring (corresponding to the monitoring module) and the like, an error code flow can be completely generated, closed-loop feedback processing is formed, and problems on lines are quickly positioned and processed.
Fig. 2 is a flowchart of an on-line problem error code system based on 3D cloud design software according to an alternative embodiment of the present invention, and as shown in fig. 2, the specific implementation process is as follows:
(1) and managing service resources of the service resource management center.
The service resource management center is used for managing all service resources of the 3D cloud design software.
(a) The newly applied service (corresponding to the new service) firstly applies for service resources from a service resource management center to generate a service identifier;
(b) for the existing service of the service resource management center, the service identifier is generated in the preposition work.
(2) The error code management center synchronizes the service resource condition of the service resource management center at regular time and automatically calculates the unique service identifier of the error code (the service identifier corresponding to the error code).
(3) The error code management center pushes the unique identifier of the error code service to the distributed configuration center.
(a) Existing services: the error code management center pushes the unique error code identifiers of all cloud design services to distributed configuration at one time;
(b) the new service: when a service is created, the error code management center acquires the unique error code identifier of the service, automatically pushes the unique error code identifier to the distributed configuration center, and records the unique error code identifier into a corresponding distributed configuration page of the service.
(4) After the error code is created in the error code management center, the error code and the corresponding description information are imported to the multi-language middle station through the interface.
(5) The cloud design back-end service calls a middleware to provide a webstandard Result < > encapsulated class in an error code toolkit, obtains a complete error code through Result.
To support multiple languages better, the error code description between the application program interfaces of the front and back ends is translated in multiple languages. For service call between the back-end solas of the tool and normal service scenes in the error codes, if no multilingual identifier locale is contained, the default is Chinese, and translation is not needed. In the code flow specification, only keys of error codes are reserved in codes, and the codes are described to be uniformly read from a multi-language middle station, so that hard coding is reduced. Therefore, all error codes obtain the error description from the multi-language middle station translation according to the key of the error code.
(6) And reporting and monitoring (monitoring support) error code information.
Monitoring and supporting error code standard data format collection: error codes, description information, services and interfaces, etc., support custom alarms and support specific error code screening and statistics.
(7) The error code management center monitors data in a timing synchronization mode and updates error code information such as error codes, description information, interfaces, services and the like.
Fig. 3 is a flowchart of fast acquiring and processing a problem error message on a tool line based on 3D cloud design software according to an alternative embodiment of the present invention, and as shown in fig. 3, the specific implementation process is as follows:
(1) in a 3D cloud design tool, when the tool is designed;
(2) the tool front end sends a request and receives response data through a back end request;
(3) when internal calling abnormality occurs at the rear end of the tool, acquiring a predefined multilingual error message body (corresponding to the description information) from a multilingual middle station according to a multilingual identifier localeId request header and an error code requested by the front end;
(4) the tool back end returns an error message which comprises an error code and an error description;
(5) the tool front end displays the error code and the error message to a 3D cloud design tool;
(6) in the 3D cloud design tool, the error code can be fed back to the help center to obtain the use help.
Further, the system of the invention can achieve the following technical effects:
(1) the online problem location of the 3D cloud design tool is fast.
Due to the error code identification and search function, the key information of the tool on-line problem, such as description information, agile group and FAQ, can be quickly obtained, so that the on-line problem is positioned more quickly.
Part of application scenarios: a customer service system: obtaining help, submitting error codes by one key, quickly solving FAQ and accurately classifying user complaints; intelligent work order: error code submission and accurate information submission are performed; the management center: key information one-touch search, error code, description, agility group and FAQ; business first-aid kit and carefree grocery shop small program: keyword one-touch search error code description, agility group, and FAQ.
(a) The user side: the on-line problem timeliness is enhanced, the problem link is shortened, and the self-help solving capability is improved.
(b) Operation and service support: and the human resource cost investment of the on-line questions is saved.
(c) Production and grinding side: the problem collection and classification and the problem analysis on the line are improved, the problem positioning efficiency is improved, the labor cost is reduced, the fault monitoring and error code large disc is reduced, and the service error rate is sensed in advance.
(2) Perfect infrastructure, simple access and convenient management.
The error codes provide complete infrastructure support capability, and can enable a service party to access, manage and maintain efficiently, wherein a mapping table of the benefit advantage of the infrastructure capability is shown in table 1.
TABLE 1
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.